Update links with new mastodon instance
This commit is contained in:
parent
ca36da4ec0
commit
fa1b9bc62a
@ -13,9 +13,16 @@ module.exports = {
|
|||||||
defaultPostImageURL: "/img/default_post_image/vasilina-sirotina-1NMPvajSt9Q-unsplash_copy.avif",
|
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.",
|
defaultPostImageAlt: "The default post image: a close picture of the dark green leaves of a plant.",
|
||||||
socialLinks: [
|
socialLinks: [
|
||||||
|
{
|
||||||
|
title: "My Blog",
|
||||||
|
linkURL: "https://nathanupchurch.com",
|
||||||
|
linkDisplay: "My Blog",
|
||||||
|
iconURL: "/img/logo_favicon_dark.svg"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "Mastodon",
|
title: "Mastodon",
|
||||||
linkURL: "https://mastodon.social/@nathanu",
|
linkURL: "https://lounge.town/@nathanu",
|
||||||
|
customAttribute: `rel="me"`,
|
||||||
linkDisplay: "Mastodon",
|
linkDisplay: "Mastodon",
|
||||||
iconURL: "/img/mastodon.svg"
|
iconURL: "/img/mastodon.svg"
|
||||||
},
|
},
|
||||||
@ -31,12 +38,6 @@ module.exports = {
|
|||||||
linkDisplay: "Lemmy",
|
linkDisplay: "Lemmy",
|
||||||
iconURL: "/img/Lemmy_logo.svg"
|
iconURL: "/img/Lemmy_logo.svg"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: "My Blog",
|
|
||||||
linkURL: "https://nathanupchurch.com",
|
|
||||||
linkDisplay: "My Blog",
|
|
||||||
iconURL: "/img/logo_favicon_dark.svg"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: "Matrix",
|
title: "Matrix",
|
||||||
linkURL: "https://matrix.to/#/@nathanu:matrix.org",
|
linkURL: "https://matrix.to/#/@nathanu:matrix.org",
|
||||||
|
@ -8,6 +8,6 @@ layout: layouts/baseBareBones.njk
|
|||||||
|
|
||||||
<ul class="socialLinks">
|
<ul class="socialLinks">
|
||||||
{% for link in metadata.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 %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user