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

Parse Mastodon handle to add attribution and verification metadata #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

goulvench
Copy link

This pull request builds upon #12, but with more bells and whistles:

  • uses a string instead of a hash ({username:, server} => less typing, more user-friendly)
  • pulls the handle from page meta, page defaults, or site metadata
  • doesn't raise an “unescaped HTML” warning in CI
  • has actual tests.

Feel free to add more tests in bridgetown_seo_tag_integration_spec.rb, I didn't go to that length in case this PR isn't accepted.

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.

1 participant