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

Fix some issues with OG tags for social sharing #17

Merged
merged 6 commits into from
Jun 20, 2021

Conversation

dragunoff
Copy link
Contributor

The commit messages explain what I did here in detail but the basic idea is to print meta data for the current page instead of the same data for the whole site. This is a problem because if for example a news article is shared on FB it will display the title of the site and link to the homepage. This can be seen in the FB debugger:
image

I also fixed the social image by using an absolute url and I added a canonical meta tag (for SEO).

Depends on #16

@dragunoff
Copy link
Contributor Author

There is a jekyll plugin for SEO if we wanna take this to the next level but I think what this PR implements is good for this site's needs.

@dragunoff
Copy link
Contributor Author

dragunoff commented May 28, 2021

Update: Add a commit that removes unnecessary Twitter tags (twitter picks up the info from the OG tags).

@abcdefg30
Copy link
Member

Needs a rebase now.

@dragunoff dragunoff force-pushed the feature/og-tags-extend branch from d727ecc to 465932a Compare June 7, 2021 10:25
@dragunoff
Copy link
Contributor Author

Update: rebased and fixed canonical href to be an absolute URL.

@abcdefg30 abcdefg30 merged commit 65f741a into OpenRA:master Jun 20, 2021
@dragunoff dragunoff deleted the feature/og-tags-extend branch January 25, 2023 18:19
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.

2 participants