From 60146580a1e26a158031a3dc94bea80a3619e1ee Mon Sep 17 00:00:00 2001
From: Roger Sheen <roger@infotexture.net>
Date: Mon, 23 Jan 2023 23:05:19 +0100
Subject: [PATCH] Add rel="me" to footer links for web sign-in

This builds on the microformats enhancements contributed by @dltj in https://github.com/mmistakes/minimal-mistakes/pull/3052.

Adding `rel="me"` to footer links [enables web sign-in](https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain) or [RelMeAuth](https://microformats.org/wiki/RelMeAuth), so you can use your domain to sign in to other sites.

In https://github.com/mmistakes/minimal-mistakes/pull/3052, the `rel="me"` attributes were added to the author profile, but that only appears in post sidebars, and web sign-in requires these profile links to be present on the home page.
---
 _includes/footer.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_includes/footer.html b/_includes/footer.html
index 2b53a253ee93..bc9eafe55f1d 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -7,7 +7,7 @@
     {% if site.footer.links %}
       {% for link in site.footer.links %}
         {% if link.label and link.url %}
-          <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
+          <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer me"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
         {% endif %}
       {% endfor %}
     {% endif %}