Merge pull request #291 from sercxanto/fix_tipue_search
Fix tipue search
This commit is contained in:
		
						commit
						b1d0b24b4f
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -69,7 +69,7 @@
 | 
				
			||||||
          href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE|default('github') }}.min.css">
 | 
					          href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE|default('github') }}.min.css">
 | 
				
			||||||
  {% endif %}
 | 
					  {% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  {% if PLUGINS and 'tipue_search' in PLUGINS %}
 | 
					  {% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %}
 | 
				
			||||||
      {% if USE_GOOGLE_FONTS != False %}
 | 
					      {% if USE_GOOGLE_FONTS != False %}
 | 
				
			||||||
      <link href="https://fonts.googleapis.com/css?family=Merriweather:300,400|Open+Sans" rel="stylesheet">
 | 
					      <link href="https://fonts.googleapis.com/css?family=Merriweather:300,400|Open+Sans" rel="stylesheet">
 | 
				
			||||||
      {% endif %}
 | 
					      {% endif %}
 | 
				
			||||||
| 
						 | 
					@ -177,7 +177,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      {% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
 | 
					      {% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      {% if PLUGINS and 'tipue_search' in PLUGINS %}
 | 
					      {% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS)%}
 | 
				
			||||||
        <form class="navbar-search" action="{{ SITEURL }}/search.html" role="search">
 | 
					        <form class="navbar-search" action="{{ SITEURL }}/search.html" role="search">
 | 
				
			||||||
          <input type="text" name="q" id="tipue_search_input" placeholder="{{ _('Search...') }}">
 | 
					          <input type="text" name="q" id="tipue_search_input" placeholder="{{ _('Search...') }}">
 | 
				
			||||||
        </form>
 | 
					        </form>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
{% if PLUGINS and 'tipue_search' in PLUGINS %}
 | 
					{% if PLUGINS and ('tipue_search' in PLUGINS or 'pelican.plugins.tipue_search' in PLUGINS) %}
 | 
				
			||||||
{% extends 'base.html' %}
 | 
					{% extends 'base.html' %}
 | 
				
			||||||
{% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %}
 | 
					{% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %}
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue