added a activitypub url if the plugin is configured

This commit is contained in:
Tobias Schmidl 2024-10-15 14:12:11 +02:00
parent b7e0b32909
commit 5e600385ad
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
{% extends "index.html" %}
{% block meta %}
{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}<link rel="alternate" type="application/activity+json" href="{{ SITEURL }}/activitypub/tags/{{ tag }}">{% endif %}
{% endblock %}
{% block title %} &ndash; {{ _('Tag %(name)s', name=tag) }}{% endblock %}
{% set summarise = True %}