Skip to content
Snippets Groups Projects
Commit cbf244bd authored by Daan Debie's avatar Daan Debie
Browse files

Merge pull request #166 from pmav99/tipue-fixes

Tipue fixes
parents 35d18a71 c54b8d6d
No related branches found
No related tags found
No related merge requests found
......@@ -278,8 +278,7 @@ This theme has support for the
All you have to do, is:
- enable the plugin, and the theme will add a search box on the right
side of the menu
- Add `DIRECT_TEMPLATES = (('search',))` in your `pelicanconf.py`.
- Add `'search'` to the `DIRECT_TEMPLATES` in your `pelicanconf.py`. E.g. `DIRECT_TEMPLATES = ('index', 'categories', 'authors', 'archives', 'search').
### Footer
......
{% assets filters="rjsmin", output="tipuesearch/tipuesearch.packed.min.js", "tipuesearch/tipuesearch_set.js", "tipuesearch/tipuesearch.js" %}
<script type="text/javascript" src="{{ SITEURL }}/{{ ASSET_URL }}"></script>
{% endassets %}
......@@ -6,7 +6,7 @@ Search - {{ super() }}
{% block scripts %}
{% if 'assets' in PLUGINS %}
{% include '_includes/minify_tipuesearch.html' with context %}
{% include 'includes/minify_tipuesearch.html' with context %}
{% else %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.css" rel="stylesheet">
<script type="text/javascript" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch_set.js"></script>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment