Zettel preview: adding graph metadata #491
GenrihGrigoryan
started this conversation in
Ideas
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Neuron already uses Open Graph Protocol. It will use the first paragraph as description, and the first image (if any) as the preview image. However we can make them overridable in the YAML front matter. It would be a good first contribution. EDIT: Yea, sitewide OGP configuration can be specified in neuron.dhall. RFC and PR welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice, to have possibility to choose the default preview of generated Neuron site, and to customise it for each page, if needed.
It can be done by adding, properties in frontmatter. Fo example: 'preview-image: [image]' - for image, 'preview-description: [text]' - for for description.
Main goal - to achive preview of page in social media (facebook, telegram, twitter, etc) from this:
To something like this:
Possible solution - Open Graph Protocol: https://ogp.me
Beta Was this translation helpful? Give feedback.
All reactions