The tipue plugin registers itself as pelican.plugins.tipue_search (namespace
plugin) in the latest version see here:
7fe8f3f05c
Keep old style tipue_search to be compatible with old versions.
To use the search one would need to add "search" to DIRECT_TEMPLATES in
pelicanconf.py so that search.html is copied to the output folder:
    DIRECT_TEMPLATES = ["index", "tags", "categories", "archives", "search"]
		
	
			
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			1,011 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			1,011 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% 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 additional_js %}
 | 
						|
{% endif %}
 |