Update links with new mastodon instance

This commit is contained in:
N-Upchurch 2023-07-25 11:32:39 -05:00
parent ca36da4ec0
commit fa1b9bc62a
2 changed files with 9 additions and 8 deletions

View File

@ -13,9 +13,16 @@ module.exports = {
defaultPostImageURL: "/img/default_post_image/vasilina-sirotina-1NMPvajSt9Q-unsplash_copy.avif",
defaultPostImageAlt: "The default post image: a close picture of the dark green leaves of a plant.",
socialLinks: [
{
title: "My Blog",
linkURL: "https://nathanupchurch.com",
linkDisplay: "My Blog",
iconURL: "/img/logo_favicon_dark.svg"
},
{
title: "Mastodon",
linkURL: "https://mastodon.social/@nathanu",
linkURL: "https://lounge.town/@nathanu",
customAttribute: `rel="me"`,
linkDisplay: "Mastodon",
iconURL: "/img/mastodon.svg"
},
@ -31,12 +38,6 @@ module.exports = {
linkDisplay: "Lemmy",
iconURL: "/img/Lemmy_logo.svg"
},
{
title: "My Blog",
linkURL: "https://nathanupchurch.com",
linkDisplay: "My Blog",
iconURL: "/img/logo_favicon_dark.svg"
},
{
title: "Matrix",
linkURL: "https://matrix.to/#/@nathanu:matrix.org",

View File

@ -8,6 +8,6 @@ layout: layouts/baseBareBones.njk
<ul class="socialLinks">
{% for link in metadata.socialLinks %}
<a href="{{ link.linkURL }}"><li><img src="{{ link.iconURL }}" />{{ link.linkDisplay }}</li></a>
<a {% if link.customAttribute %} {{ link.customAttribute | safe }} {% endif %} href="{{ link.linkURL }}"><li><img src="{{ link.iconURL }}" />{{ link.linkDisplay }}</li></a>
{% endfor %}
</ul>