mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 11:07:07 +02:00
feat(v2): allow specifying meta image for blog posts (#2856)
* feat(v2): allow specifying meta image for blog posts * Update docs [skip ci]
This commit is contained in:
parent
2cd326fe20
commit
c0c7457e01
9 changed files with 84 additions and 54 deletions
|
@ -38,6 +38,7 @@ author_title: Co-creator of Docusaurus 1
|
|||
author_url: https://github.com/JoelMarcey
|
||||
author_image_url: https://graph.facebook.com/611217057/picture/?height=200&width=200
|
||||
tags: [hello, docusaurus-v2]
|
||||
image: https://i.imgur.com/mErPwqL.png
|
||||
---
|
||||
Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/).
|
||||
|
||||
|
@ -59,6 +60,7 @@ The only required field is `title`; however, we provide options to add author in
|
|||
- `title` - The blog post title.
|
||||
- `tags` - A list of strings to tag to your post.
|
||||
- `draft` - A boolean flag to indicate that the blog post is work in process and therefore should not be published yet. However, draft blog posts will be displayed during development.
|
||||
- `image`: Cover or thumbnail image that will be used when displaying the link to your post.
|
||||
|
||||
## Summary truncation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue