Merge pull request #311 from lioman/master
check for new neighbor and seo namespace plugins
This commit is contained in:
commit
faec6935e9
5 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
{% if not PLUGINS or 'seo' not in PLUGINS %}
|
{% if not PLUGINS or 'seo' not in PLUGINS or 'pelican.plugins.seo' not in PLUGINS%}
|
||||||
{% if SITELOGO %}
|
{% if SITELOGO %}
|
||||||
{% set default_cover = SITELOGO %}
|
{% set default_cover = SITELOGO %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% if PLUGINS and 'neighbors' in PLUGINS %}
|
{% if PLUGINS and ('neighbors' in PLUGINS or 'pelican.plugins.neighbors' in PLUGINS) %}
|
||||||
<div class="neighbors">
|
<div class="neighbors">
|
||||||
{% if article.prev_article %}
|
{% if article.prev_article %}
|
||||||
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title|striptags }}">
|
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title|striptags }}">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% if not PLUGINS or 'seo' not in PLUGINS %}
|
{% if not PLUGINS or 'seo' not in PLUGINS or 'pelican.plugins.seo' not in PLUGINS %}
|
||||||
{% if OG_LOCALE %}
|
{% if OG_LOCALE %}
|
||||||
{% set default_locale = OG_LOCALE %}
|
{% set default_locale = OG_LOCALE %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% if not PLUGINS or 'seo' not in PLUGINS %}
|
{% if not PLUGINS or 'seo' not in PLUGINS or 'pelican.plugins.seo' not in PLUGINS %}
|
||||||
{% if OG_LOCALE %}
|
{% if OG_LOCALE %}
|
||||||
{% set default_locale = OG_LOCALE %}
|
{% set default_locale = OG_LOCALE %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %}
|
{% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<article class="single">
|
<article class="single">
|
||||||
<header>
|
<header>
|
||||||
<h1 id="categories">{{ _('Search Results') }}</h1>
|
<h1 id="categories">{{ _('Search Results') }}</h1>
|
||||||
</header>
|
</header>
|
||||||
<div id="tipue_search_content"></div>
|
<div id="tipue_search_content"></div>
|
||||||
</article>
|
</article>
|
||||||
{% endblock content %}
|
{% endblock content %} {% block additional_js %}
|
||||||
{% block additional_js %}
|
|
||||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/jquery.min.js"></script>
|
<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.min.js"></script>
|
||||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch_set.min.js"></script>
|
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch_set.min.js"></script>
|
||||||
|
@ -23,5 +23,4 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock additional_js %}
|
{% endblock %} {% endif %}
|
||||||
{% endif %}
|
|
||||||
|
|
Loading…
Reference in a new issue