Compare commits

...

2 commits
v3 ... master

4 changed files with 18 additions and 2 deletions

View file

@ -5,6 +5,8 @@
<meta name="description" content="{{ article.summary|striptags|escape }}" />
<meta name="keywords" content="{{ article.tags|join(', ')|escape }}">
{% if PLUGINS and 'pelican.plugins.activitypub' in PLUGINS %}<link rel="alternate" type="application/activity+json" href="{{ SITEURL }}/activitypub/posts/{{ article.slug }}">{% endif %}
{% if article.translations -%}
<link rel="alternate" href="{{ SITEURL }}/{{ article.url }}" hreflang="{{ article.lang }}" />
{% for a in article.translations %}

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/users/{{ author }}">{% endif %}
{% endblock %}
{% block title %} &ndash; {{ _('Posts by %(name)s', name=author) }}:{% endblock %}
{% set summarise = True %}

View file

@ -115,6 +115,10 @@
<link rel="pingback" href="{{ PINGBACK_URL }}" />
{% endif %}
{% for _, link in SOCIAL%}
<link rel="me" href="{{ link }}" />
{% endfor %}
{% if not PLUGINS or 'seo' not in PLUGINS %}
{% if REL_CANONICAL %}
{% if page %}

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 %}