Add the Mastodon link to all pages, just in case

This commit is contained in:
Oliver Davies 2024-08-06 13:00:00 +01:00
parent f2e6eb5517
commit 3e1f47f666
2 changed files with 3 additions and 8 deletions

View file

@ -43,6 +43,9 @@
<body>
{% block body %}{% endblock %}
{# Add the Mastodon verification link so pages can be verified. #}
<a class="hidden" rel="me" href="{{ site.mastodon.url }}">Mastodon</a>
{% if site.plausible.domain %}
<script defer data-domain="{{ site.plausible.domain }}" src="https://plausible.io/js/script.js"></script>
{% endif %}

View file

@ -1,13 +1,5 @@
{% extends 'default' %}
{% block body %}
{{ parent() }}
{% if page.url == "//" or page.url == "/daily/" %}
<a class="hidden" rel="me" href="{{ site.mastodon.url }}">Mastodon</a>
{% endif %}
{% endblock %}
{% block content_bottom %}
{% include 'about-me.html.twig' %}
{% endblock %}