check for seo, neighbors as namespace plugins
These two plugins moved recently to new versions. They have a module name preceeded by 'pelican.plugins.'
This commit is contained in:
parent
56e011d70a
commit
1b2844e926
4 changed files with 4 additions and 4 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 %}
|
||||||
|
|
Loading…
Reference in a new issue