Skip to content
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

Add rel="me" to footer links for web sign-in #4114

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infotexture
Copy link

✨ 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.

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.
@dltj
Copy link
Sponsor Contributor

dltj commented Jan 23, 2023

I'm curious — does the rel="me" in the footer operate differently than the one that is in the author-profile.html

@infotexture
Copy link
Author

infotexture commented Jan 24, 2023

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.

@dltj
Copy link
Sponsor Contributor

dltj commented Jan 25, 2023

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.

@iBug
Copy link
Collaborator

iBug commented Apr 23, 2024

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.)

@iBug iBug marked this pull request as draft May 5, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants