blob: 553abe6544e9764b9ef4581b338cefa713ef3659 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# This is an example that works well with Nikola's default Bootstrap3 theme.
# It displays the search field in the navigation bar, and the results
# on a separate page (which needs to be configured, see README.md).
# This snippet assumes the page ends up at /search/.
SEARCH_FORM = """
<form class="navbar-form navbar-left" action="/search/" role="search">
<div class="form-group">
<input type="text" class="form-control" id="tipue_search_input" name="q" placeholder="Search" autocomplete="off">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
"""
EXTRA_HEAD_DATA = """
<link rel="stylesheet" type="text/css" href="/assets/css/tipuesearch.css">
"""
|