summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/site/README
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2012-12-12 19:58:42 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2012-12-12 19:58:42 -0300
commitca1f5a392261a7c6b82b5ac1015427605909d8c9 (patch)
treef91146c9340c6c78e84aaf6b92053386397e2069 /nikola/data/themes/site/README
Imported Upstream version 4.0.3upstream/4.0.3
Diffstat (limited to 'nikola/data/themes/site/README')
-rw-r--r--nikola/data/themes/site/README32
1 files changed, 32 insertions, 0 deletions
diff --git a/nikola/data/themes/site/README b/nikola/data/themes/site/README
new file mode 100644
index 0000000..6cbc7dd
--- /dev/null
+++ b/nikola/data/themes/site/README
@@ -0,0 +1,32 @@
+A more "website-done-with-bootstrap" theme, so to speak. This theme should
+be completely compatible with the default theme and need no configuration
+changes, except for the search form, as explained below.
+
+
+Has a fixed navigation bar at top that displays:
+
+* Site name
+* navigation links (taken from sidebar_links in dodo.py)
+* search form (taken from SEARCH_FORM in dodo.py)
+* Link to page's source code (if available)
+* Floating social bar on the left margin
+* The below-title block is displayed flush right
+
+This theme is used in Nikola's website: http://nikola.ralsina.com.ar
+
+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&hellip;" class="span2" style="margin-top: 4px;"/>
+ <input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
+ </form>
+ <!-- End of custom search -->
+ """ % BLOG_URL