Extract a variable for my Mastodon name and URL

This commit is contained in:
Oliver Davies 2024-08-06 01:25:03 +01:00
parent 59553840d9
commit f2e6eb5517
2 changed files with 5 additions and 1 deletions

View file

@ -4,7 +4,7 @@
{{ parent() }}
{% if page.url == "//" or page.url == "/daily/" %}
<a class="hidden" rel="me" href="https://mastodon.social/@opdavies">Mastodon</a>
<a class="hidden" rel="me" href="{{ site.mastodon.url }}">Mastodon</a>
{% endif %}
{% endblock %}