Skip to content

Commit

Permalink
Fix search.html template for Tipue 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boag-Munroe committed Feb 3, 2019
1 parent deccf69 commit 6a93a9b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pelican-bootstrap3/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
{% if 'assets' in PLUGINS %}
{% include 'includes/minify_tipuesearch.html' with context %}
{% else %}
<script src="{{ SITEURL }}/tipuesearch_content.js"></script>
<script type="text/javascript" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch_set.js"></script>
<script type="text/javascript" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.min.js"></script>
{% endif %}
<script>
$(document).ready(function() {
$('#tipue_search_input').tipuesearch({
'mode' : 'json',
'show': 10,
'newWindow': false,
'contentLocation': 'tipuesearch_content.json'
'newWindow': false
});
});
</script>
Expand Down

0 comments on commit 6a93a9b

Please sign in to comment.