-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from getnikola/murder-bootstrap2
Move Bootstrap 2 to the Themes Index
- Loading branch information
Showing
137 changed files
with
45,397 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
Roberto Alsina <https://github.com/ralsina> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
This is the original Bootstrap 2 theme for Nikola. This theme is **not | |||
supported** by the Nikola and Bootstrap developers. Use at your own risk, | |||
upgrade to ``bootstrap3`` (shipped with Nikola) whenever possible. | |||
|
|||
Has a fixed navigation bar at top that displays the `NAVIGATION_LINKS` | |||
setting and supports nested menus. | |||
|
|||
This theme is used in Nikola's website: https://getnikola.com | |||
|
|||
Important: To fit in the bootstrap navigation bar, the search form needs the | |||
navbar-form and pull-left CSS classes applied. Here is an example with Nikola's | |||
default duckduckgo search form: | |||
|
|||
SEARCH_FORM = """ | |||
<!-- Custom search --> | |||
<form method="get" id="search" action="http://duckduckgo.com/" class="navbar-form pull-left"> | |||
<input type="hidden" name="sites" value="%s"/> | |||
<input type="hidden" name="k8" value="#444444"/> | |||
<input type="hidden" name="k9" value="#D51920"/> | |||
<input type="hidden" name="kt" value="h"/> | |||
<input type="text" name="q" maxlength="255" placeholder="Search…" class="span2" style="margin-top: 4px;"/> | |||
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" /> | |||
</form> | |||
<!-- End of custom search --> | |||
""" % SITE_URL |
Oops, something went wrong.