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

Support rel=me verification on blogs #771

Merged
merged 5 commits into from Sep 22, 2023
Merged

Support rel=me verification on blogs #771

merged 5 commits into from Sep 22, 2023

Conversation

thebaer
Copy link
Member

@thebaer thebaer commented Sep 21, 2023

This adds a blog customization option that lets users set a URL or fediverse handle as a profile to verify. Then when linking to the blog from e.g. Mastodon, it will show as verified there. It does this by adding a <link> element to the page's <head> -- i.e. it doesn't show up anywhere on the blog itself.

To use this, you'll need to run writefreely db migrate.

Closes T744


  • ☑ I have signed the CLA

This allows setting a URL, and then renders a <link> element
in the head of the blog. It requires a database migration.

Ref T744
@thebaer thebaer added this to the 0.14 milestone Sep 21, 2023
Previously, we'd call GetCollectionAttribute for the monetization
attribute, when it's already in the collection data.
@thebaer
Copy link
Member Author

thebaer commented Sep 22, 2023

Tested on a few instances and seems to be good. Merging now

@thebaer thebaer merged commit 322d0d6 into develop Sep 22, 2023
@thebaer thebaer deleted the verification branch September 22, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant