Skip to Main Menu

Cover Image

Eden Farm Children’s Village by Gareth Harper on Unsplash
Eden Farm Children’s Village by Gareth Harper on Unsplash

You can add cover image to your contents with the cover paramameter in the content’s front-matter.

You can directly provide the image url:

---
cover: /images/eden-farm-children-s-village.jpg
---
  • cover [String]: path/url of the cover image

Or you can provide additional information:

---
cover:
  image: /images/eden-farm-children-s-village.jpg
  caption: Eden Farm Children's Village by Gareth Harper on Unsplash
  style: full
---
  • cover [Map]:
    • image [String]: path/url of the cover image
    • caption [String]: caption for the cover image
    • style [String]: full / wide / normal