Skip to content

Support rel=me verification on blogs - #771

Merged
thebaer merged 5 commits into
developfrom
verification
Sep 22, 2023
Merged

thebaer merged 5 commits into
developfrom
verification

Conversation

@thebaer

@thebaer thebaer commented Sep 21, 2023

Copy link
Copy Markdown
Member

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

thebaer commented Sep 22, 2023

Copy link
Copy Markdown
Member Author

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.

1 participant