moved pygments, static and templates to the pelican/themes/Flex subdir
This commit is contained in:
parent
a17ebec50f
commit
7a465d81e3
155 changed files with 0 additions and 0 deletions
26
pelican/themes/Flex/templates/search.html
Normal file
26
pelican/themes/Flex/templates/search.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
{% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %}
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %}
|
||||
{% block content %}
|
||||
|
||||
<article class="single">
|
||||
<header>
|
||||
<h1 id="categories">{{ _('Search Results') }}</h1>
|
||||
</header>
|
||||
<div id="tipue_search_content"></div>
|
||||
</article>
|
||||
{% endblock content %} {% block additional_js %}
|
||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/jquery.min.js"></script>
|
||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.min.js"></script>
|
||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch_set.min.js"></script>
|
||||
<script src="{{ SITEURL }}/tipuesearch_content.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$("#tipue_search_input").tipuesearch({
|
||||
show: 10,
|
||||
mode: "json",
|
||||
contentLocation: "{{ SITEURL }}/tipuesearch_content.js",
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %} {% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue