diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-11-04 23:32:00 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-11-04 23:32:00 +0100 |
commit | c38679fef42e1b4df924660522a7cd358ce454d1 (patch) | |
tree | 343c77c055f02af58eb7944452ec136320476739 | |
parent | dff4ed412d2a7402b94f829e09a3d8948fe5e8a5 (diff) |
Add mastodon verification to theme and publishing configuration
-rw-r--r-- | publishconf.py | 2 | ||||
-rw-r--r-- | themes/elenq/templates/base.html | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/publishconf.py b/publishconf.py index 5111e3e..0b3942f 100644 --- a/publishconf.py +++ b/publishconf.py @@ -25,3 +25,5 @@ TRANSLATION_FEED_ATOM = 'feeds/all-{lang}.atom.xml' #AUTHOR_FEED_ATOM = 'feeds/{slug}.atom.xml' DELETE_OUTPUT_DIRECTORY = True + +MASTODON_PROFILE = 'https://mastodon.social/@ekaitz_zarraga' diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html index dcaab88..e5bba51 100644 --- a/themes/elenq/templates/base.html +++ b/themes/elenq/templates/base.html @@ -36,6 +36,9 @@ <link rel="stylesheet" href="/{{ THEME_STATIC_DIR }}/css/elenq-pelican.css"> <link rel="stylesheet" href="/{{ THEME_STATIC_DIR }}/css/fonts.css"> <link rel="stylesheet" href="/{{ THEME_STATIC_DIR }}/css/prism.css"> + {% if MASTODON_PROFILE %} + <link rel="me" href="{{ MASTODON_PROFILE }}"> + {% endif %} <script type="text/javascript" async src="/{{ THEME_STATIC_DIR }}/js/prism-hl.js"></script> <script type="text/javascript" async src="/{{ THEME_STATIC_DIR }}/js/colorscheme-switcher.js"></script> |