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

Improved social metadata settings #55

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

Conversation

gicrisf
Copy link
Contributor

@gicrisf gicrisf commented Feb 25, 2022

New optional fields in config.toml:

  • twitter_user (for the author username)
  • twitter_site (for the website username)

New optional fields in [extra] section of page frontmatters:

  • og_image (if you want a custom image on facebook/twitter/telegram previews for that page)
  • twitter_user (for the author username; useful for websites with several authors)

Every change is optional and non of them does interfere with other parts of the code.

New config fields:
- `twitter_user`
- `twitter_site`

New extra frontmatter field:
- `twitter_user`

Image is inherited from opengraph settings,
because twitter fully supports them.
@vercel
Copy link

vercel bot commented Feb 25, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ejmg/zerm/6RvgiNS9UrJ5zo6qCcBupQC5fpPX
✅ Preview: https://zerm-git-fork-gicrisf-compatible-ejmg.vercel.app

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

1 participant