mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 06:34:26 -05:00
Added documentation for opengraph metadata
Signed-off-by: Erik Michelson <erik@liltv.de>
This commit is contained in:
parent
2881f8211a
commit
8f61d840de
1 changed files with 17 additions and 0 deletions
|
@ -159,3 +159,20 @@ slideOptions:
|
||||||
transition: fade
|
transition: fade
|
||||||
theme: white
|
theme: white
|
||||||
```
|
```
|
||||||
|
|
||||||
|
opengraph
|
||||||
|
---
|
||||||
|
This option allows you to override the default generated opengraph metadata.
|
||||||
|
See the [OpenGraph protocol documentation](https://ogp.me) for more information.
|
||||||
|
|
||||||
|
**Notice: always use two spaces as indention in YAML metadata!**
|
||||||
|
|
||||||
|
> default: not set (uses auto-generated metadata)
|
||||||
|
|
||||||
|
**Example**
|
||||||
|
```yml
|
||||||
|
opengraph:
|
||||||
|
title: Special title for OpenGraph protocol
|
||||||
|
image: https://dummyimage.com/600x600/000/fff
|
||||||
|
image:type: image/png
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue