diff options
Diffstat (limited to 'plugins/localsearch/conf.py.sample')
-rw-r--r-- | plugins/localsearch/conf.py.sample | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/localsearch/conf.py.sample b/plugins/localsearch/conf.py.sample new file mode 100644 index 00000000..553abe65 --- /dev/null +++ b/plugins/localsearch/conf.py.sample | |||
@@ -0,0 +1,17 @@ | |||
1 | # This is an example that works well with Nikola's default Bootstrap3 theme. | ||
2 | # It displays the search field in the navigation bar, and the results | ||
3 | # on a separate page (which needs to be configured, see README.md). | ||
4 | # This snippet assumes the page ends up at /search/. | ||
5 | |||
6 | SEARCH_FORM = """ | ||
7 | <form class="navbar-form navbar-left" action="/search/" role="search"> | ||
8 | <div class="form-group"> | ||
9 | <input type="text" class="form-control" id="tipue_search_input" name="q" placeholder="Search" autocomplete="off"> | ||
10 | </div> | ||
11 | <button type="submit" class="btn btn-default">Submit</button> | ||
12 | </form> | ||
13 | """ | ||
14 | |||
15 | EXTRA_HEAD_DATA = """ | ||
16 | <link rel="stylesheet" type="text/css" href="/assets/css/tipuesearch.css"> | ||
17 | """ | ||