add gnu/social and fix header links

Amolith created

Change summary

_config.yml           |  1 +
_includes/header.html | 12 +++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)

Detailed changes

_config.yml 🔗

@@ -8,6 +8,7 @@ url: "https://nixnet.xyz" # the base hostname & protocol for your site
 author:
   fullname: Amolith
   mastodon: amolith
+  gnusocial: amolith
   gitlab: Amolith
   gitea: Amolith
   telegram: amolith

_includes/header.html 🔗

@@ -17,8 +17,14 @@
         </a>
         {% endif %}
 
+        {% if site.author.mastodon %}
+        <a rel="me" href="https://quitter.im/{{ site.author.gnusocial }}" class="social-links__entry" target="_blank">
+            <i class="fa fa-gnu-social"></i>
+        </a>
+        {% endif %}
+
         {% if site.author.gitea %}
-        <a href="https://git.nixnet.xyz/@{{ site.author.mastodon }}" class="social-links__entry" target="_blank">
+        <a href="https://git.nixnet.xyz/{{ site.author.gitea }}" class="social-links__entry" target="_blank">
             <i class="fa fa-gitea"></i>
         </a>
         {% endif %}
@@ -30,13 +36,13 @@
         {% endif %}
 
         {% if site.author.telegram %}
-        <a href="https://t.me/{{ site.author.mastodon }}" class="social-links__entry" target="_blank">
+        <a href="https://t.me/{{ site.author.telegram }}" class="social-links__entry" target="_blank">
             <i class="fa fa-telegram"></i>
         </a>
         {% endif %}
 
         {% if site.author.email %}
-        <a href="mailto:{{ site.author.mastodon }}" class="social-links__entry" target="_blank">
+        <a href="mailto:{{ site.author.email }}" class="social-links__entry" target="_blank">
             <i class="fa fa-envelope"></i>
         </a>
         {% endif %}