diff options
-rw-r--r-- | publishconf.py | 1 | ||||
-rw-r--r-- | themes/elenq/templates/base.html | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/publishconf.py b/publishconf.py index 0b3942f..a1fbc2f 100644 --- a/publishconf.py +++ b/publishconf.py @@ -27,3 +27,4 @@ TRANSLATION_FEED_ATOM = 'feeds/all-{lang}.atom.xml' DELETE_OUTPUT_DIRECTORY = True MASTODON_PROFILE = 'https://mastodon.social/@ekaitz_zarraga' +MASTODON_HANDLE = '@ekaitz_zarraga@mastodon.social' diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html index e5bba51..a319067 100644 --- a/themes/elenq/templates/base.html +++ b/themes/elenq/templates/base.html @@ -5,6 +5,10 @@ <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8" /> + {% if MASTODON_HANDLE %} + <meta name="fediverse:creator" content="{{ MASTODON_HANDLE }}" /> + {% endif %} + {% if FEED_ALL_ATOM %} <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> {% endif %} |