diff --git a/templates/article.html b/templates/article.html index e7ccd8e..d3bd083 100644 --- a/templates/article.html +++ b/templates/article.html @@ -5,6 +5,8 @@ +{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}{% endif %} + {% if article.translations -%} {% for a in article.translations %} diff --git a/templates/author.html b/templates/author.html index 8de5722..40c0bee 100644 --- a/templates/author.html +++ b/templates/author.html @@ -1,3 +1,8 @@ {% extends "index.html" %} + +{% block meta %} +{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}{% endif %} +{% endblock %} + {% block title %} – {{ _('Posts by %(name)s', name=author) }}:{% endblock %} {% set summarise = True %} diff --git a/templates/tag.html b/templates/tag.html index 2bc967a..57ad48d 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -1,3 +1,8 @@ {% extends "index.html" %} + +{% block meta %} +{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}{% endif %} +{% endblock %} + {% block title %} – {{ _('Tag %(name)s', name=tag) }}{% endblock %} {% set summarise = True %}