From cdc4e1799fce0c4b90b7d85073edd65ec27480e1 Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Sat, 9 Nov 2024 22:23:59 +0100 Subject: [PATCH] Adding rel to author links --- _data/authors.yml | 12 +++++++++--- _includes/author-profile.html | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/_data/authors.yml b/_data/authors.yml index ccd208ef73e0..33cda94dad0e 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -7,12 +7,18 @@ lsolesen: - label: "Email" icon: "fas fa-fw fa-envelope-square" url: "mailto:lars@vih.dk" - - label: "Twitter" - icon: "fab fa-fw fa-twitter-square" - url: "https://twitter.com/lsolesen" - label: "Linkedin" icon: "fab fa-fw fa-linkedin" url: "https://www.linkedin.com/in/lsolesen/" + rel: "author" + - label: "Website" + icon: "fas fa-fw fa-envelope-square" + url: "https://www.larsolesen.dk" + rel: "author" + - label: "Twitter" + icon: "fab fa-fw fa-twitter-square" + url: "https://twitter.com/lsolesen" + rel: "author" - label: "Køb mig en kaffe" icon: "fas fa-fw fa-mug-hot" url: "https://www.buymeacoffee.com/lsolesen" diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 442707d18985..db7971bc792c 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -40,7 +40,7 @@ {% if author.links %} {% for link in author.links %} {% if link.label and link.url %} -
  • {{ link.label }}
  • +
  • {{ link.label }}
  • {% endif %} {% endfor %} {% endif %}