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

@ -24,6 +24,10 @@ ctas:
pair: |
Need help or want another pair of eyes on your code? Book a <a href="%site.url%/call">1-on-1 consulting call</a> or an <a href="%site.url%/pair">online pair programming session</a> with a 100% money-back guarantee.,
mastodon:
username: opdavies
url: https://mastodon.social/@%mastodon.username%
menu_links:
- title: About
url: /

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