flex/templates/partial/neighbors.html
Elias Kirchgässner 1b2844e926 check for seo, neighbors as namespace plugins
These two plugins moved recently to new versions.
They have a module name preceeded by 'pelican.plugins.'
2022-09-02 09:43:56 +02:00

14 lines
639 B
HTML

{% if PLUGINS and ('neighbors' in PLUGINS or 'pelican.plugins.neighbors' in PLUGINS) %}
<div class="neighbors">
{% if article.prev_article %}
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title|striptags }}">
<i class="fa fa-angle-left"></i> {{ _('Previous Post') }}
</a>
{% endif %}
{% if article.next_article %}
<a class="btn float-right" href="{{ SITEURL }}/{{ article.next_article.url }}" title="{{ article.next_article.title|striptags }}">
{{ _('Next Post') }} <i class="fa fa-angle-right"></i>
</a>
{% endif %}
</div>
{% endif %}