Extract a variable for my Mastodon name and URL
This commit is contained in:
parent
59553840d9
commit
f2e6eb5517
|
@ -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: /
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue