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 user profile OG tag on status page #21423

Merged
merged 1 commit into from Nov 27, 2022

Conversation

bramus
Copy link
Contributor

@bramus bramus commented Nov 22, 2022

This PR adds the profile:username opengraph tag to status pages, in addition to it already being shown on account profile pages. This allows for easier automation to detect which profile published a toot.

Without this addition, automations need to rely on regular expressions in order to extract the username from the og:title meta tag which contains the username as its set to #{display_name(@account)} (#{acct(@account)}).

@Gargron Gargron merged commit e617ee7 into mastodon:main Nov 27, 2022
@ineffyble ineffyble mentioned this pull request Nov 30, 2022
nametoolong pushed a commit to nametoolong/nuage that referenced this pull request Jan 12, 2023
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

2 participants