-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Add rel="me" to footer links for web sign-in #4114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This builds on the microformats enhancements contributed by @dltj in mmistakes#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 mmistakes#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.
I'm curious — does the rel="me"
in the footer operate differently than the one that is in the author-profile.html
I'm curious — does the
rel="me"
in the footer operate differently than the one that is in the author-profile.html
No, but as described above,
that only appears in post sidebars, and web sign-in requires these profile links to be present on the home page.
Services that support web sign-in only check the domain root for rel="me"
links, so the auth process only works if they're found on the home page. Those services won't notice rel="me"
links on other pages of the site.
Ah, I think I see...a critical difference between your site and mine is that you have overridden the homepage template so the author-profile.html
file isn't included. Makes sense. This is a good change.
I don't think it would make sense to unconditionally add rel="me"
to every footer link. Perhaps an option for each link item would be better.
(Contrary to Michael, I'm neutral to adding more config options as they're a requisite of flexibility.)
I think the ability to add rel to footer could be useful. However, I agree that it should not be rel-me by default. I added this pull request, that also challenges the current implementation of rel="me" in the theme, as I think per Indieweb and microformats standards should be rel="author" instead and reserve rel="me" for profile pages linking to profile pages. So it would make sense to to use rel-me if you have created an author-profile page on your site.
Here is the suggested pull request: #5030
✨ This is an enhancement or feature that builds on the microformat contributions by @dltj in #3052.
Adding
rel="me"
to footer links enables web sign-in or RelMeAuth, so you can use your domain to sign in to other sites.In #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.Adding this to the footer links ensures that these values are correctly detected by systems that check for the presence of bidirectional links between the author's home page and other profiles.
✅ Tested with the Web Sign In test at https://indiewebify.me.