aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/search.html
diff options
context:
space:
mode:
authorDaan Debie <d.debie@thenewmotion.com>2015-02-21 23:16:27 +0100
committerDaan Debie <d.debie@thenewmotion.com>2015-02-21 23:16:27 +0100
commit524cfb091d7d3993f81091f0cba9e194951a17a6 (patch)
tree54c01c855e9994fbbfcf40b34cfb2552a020ae52 /pelican-bootstrap3/templates/search.html
parent6ce5bf4fae4d65ad9696d5d8f98ec93c4a1f3021 (diff)
downloadpelican-themes-524cfb091d7d3993f81091f0cba9e194951a17a6.zip
pelican-themes-524cfb091d7d3993f81091f0cba9e194951a17a6.tar.gz
pelican-themes-524cfb091d7d3993f81091f0cba9e194951a17a6.tar.bz2
Updated pelican-bootstrap3 to latest version
Diffstat (limited to 'pelican-bootstrap3/templates/search.html')
-rw-r--r--pelican-bootstrap3/templates/search.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/search.html b/pelican-bootstrap3/templates/search.html
new file mode 100644
index 0000000..a194256
--- /dev/null
+++ b/pelican-bootstrap3/templates/search.html
@@ -0,0 +1,29 @@
+{% extends 'base.html' %}
+
+{% block title %}
+Search - {{ super() }}
+{% endblock %}
+
+{% block scripts %}
+ {% if 'assets' in PLUGINS %}
+ {% include '_includes/minify_tipuesearch.html' with context %}
+ {% else %}
+ <link href="{{ SITEURL }}/theme/tipuesearch/tipuesearch.css" rel="stylesheet">
+ <script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch_set.js"></script>
+ <script type="text/javascript" src="{{ SITEURL }}/theme/tipuesearch/tipuesearch.min.js"></script>
+ {% endif %}
+ <script>
+ $(document).ready(function() {
+ $('#tipue_search_input').tipuesearch({
+ 'mode' : 'json',
+ 'show': 10,
+ 'newWindow': false,
+ 'contentLocation': 'tipuesearch_content.json'
+ });
+ });
+ </script>
+{% endblock %}
+
+{% block content %}
+<div id="tipue_search_content"></div>
+{% endblock %}