-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Update meta tags #2325
Update meta tags #2325
Conversation
I think the meta tags are a worthy addition, can you make this PR independent of matomo? |
@samajammin what do you think about changing this PR to be independent of matomo in order to merge it? |
_includes/head.html
Outdated
"@type": "WebSite", | ||
"url": "https://eips.ethereum.org/", | ||
"name": "Ethereum Improvement Proposals", | ||
"description": "Ethereum Improvement Proposals (EIPs) describe standards for the Ethereum platform, including core protocol specifications, client APIs, and contract standards.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to get these fields and the URL from _config.yml
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually made this change myself, hope you don't mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me!
@nicksavers @Arachnid @Souptacular any comments on this? I suggest to merge it. |
@@ -0,0 +1,5 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, this is needed since we're know using a custom head that references the file. Learn more here: https://github.com/jekyll/minima#customizing-templates
The Normally I would cite an authoritative reference when talking about a specification like OGP. However, OPG does not have a publicly downloadable specification, the forums are not publicly accessible. And the reference implementation (Facebook's) is not publicly downloadable. |
Likewise for |
After @fulldecent's comments are addressed I agree we should merge @axic. |
@fulldecent are you certain of this? The Facebook Debugger references og:title, og:url & og:description & even raises a warning that those properties are not currently present: |
@samajammin Fair enough. If that tool (I can't access it) "says should be fixed" then I agree it should be added. Also the OG specification should be updated to not complain about inferred values, to avoid polluting vendored tagging. But that's a complaint for OG, not here. |
Haha, agreed. And bummer, I suppose you must be logged into Facebook in order to access their debugger tool? Classic Facebook move... |
Looks good. Merging. |
* Add Matomo tracking * Add development instructions to README * Add dynamic metadata for EIP pages * Escape title strings * Remove Matomo * Use variables from _config.yaml in head.html * Omit Jekyll version from header * Also use twitter_username from _config.yml
* Add Matomo tracking * Add development instructions to README * Add dynamic metadata for EIP pages * Escape title strings * Remove Matomo * Use variables from _config.yaml in head.html * Omit Jekyll version from header * Also use twitter_username from _config.yml
* Add Matomo tracking * Add development instructions to README * Add dynamic metadata for EIP pages * Escape title strings * Remove Matomo * Use variables from _config.yaml in head.html * Omit Jekyll version from header * Also use twitter_username from _config.yml
* Add Matomo tracking * Add development instructions to README * Add dynamic metadata for EIP pages * Escape title strings * Remove Matomo * Use variables from _config.yaml in head.html * Omit Jekyll version from header * Also use twitter_username from _config.yml
Description
Example head tag output:
Context
ethereum/ethereum-org-website#343