mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2026-01-05 10:02:30 +00:00
1.3 KiB
1.3 KiB
date, lastmod, title, authors, categories, slug, cover
| date | lastmod | title | authors | categories | slug | cover | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2017-09-30T14:00:00+06:00 | 2018-06-04T23:00:00+06:00 | Cover Image |
|
|
cover-image |
|
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
alternate: Picture of a yellow wall with a blue window in the upper-left corner
caption: Eden Farm Children's Village by Gareth Harper on Unsplash
style: full
---
cover[Map]:image[String]: path/url of the cover imagealternate[String]: alternate text for the imagecaption[String]: caption for the cover imagestyle[String]:full/wide/normal