diff options
Diffstat (limited to 'nikola/data/themes/bootstrap/README.md')
| -rw-r--r-- | nikola/data/themes/bootstrap/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nikola/data/themes/bootstrap/README.md b/nikola/data/themes/bootstrap/README.md new file mode 100644 index 0000000..5340fe2 --- /dev/null +++ b/nikola/data/themes/bootstrap/README.md @@ -0,0 +1,23 @@ +A "website-done-with-bootstrap" theme, so to speak. + +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: http://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 |
