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

Improve OpenGraph snippets #1213

Open
jsha opened this issue Apr 6, 2021 · 2 comments
Open

Improve OpenGraph snippets #1213

jsha opened this issue Apr 6, 2021 · 2 comments

Comments

@jsha
Copy link
Contributor

jsha commented Apr 6, 2021

Per https://meta.discourse.org/t/improving-onebox-for-our-documentation-pages/185679/2, I'd like to improve our OpenGraph snippets. My primary goal is for documentation pages to be displayed really nicely when they are linked in the forum, and include a good amount of text. My secondary goal is for pages to be displayed better on social media.

In particular I'd like to get rid of the boilerplate "Last updated: Jul 30, 2019 | See all Documentation"

@tdelmas
Copy link
Collaborator

tdelmas commented Apr 7, 2021

In short-term, filling the description attribute in the top should work, but it's manual...

@tdelmas
Copy link
Collaborator

tdelmas commented Nov 1, 2021

With the macro {{< lastmod >}} replaced by an attribute show_lastmod: 1, the boilerplate "Last updated: Jul 30, 2019 | See all Documentation" is no longer part of the description: #1240

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

No branches or pull requests

2 participants