parent
6c2f3a21cc
commit
fbe7d17fb0
6 changed files with 227 additions and 1 deletions
19
templates/search.html
Normal file
19
templates/search.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{% if USE_TIPUE_SEARCH %} {% extends 'base.html' %} {% block title %} {{ _('Search') }} - {{ SITENAME|striptags }} {% endblock title %} {% block content %}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#tipue_search_input').tipuesearch({
|
||||
'show': 10,
|
||||
'mode': 'json',
|
||||
'contentLocation': '{{ SITEURL }}/tipuesearch_content.js'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<article class="single">
|
||||
<header>
|
||||
<h1 id="categories">{{ _('Search Results') }}</h1>
|
||||
</header>
|
||||
<div id="tipue_search_content"></div>
|
||||
</article>
|
||||
|
||||
{% endblock content %} {% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue