Cover Image
Photo by Ricardo Rocha on Unsplash

Cover image example

Iara Authors
· 1 min read

Covers are displayed before article title in full page width. Use a large image, 1200px width at least.

Using Page Bundles

Covers can be set with Page Bundles.

Set the following items to get the full experience.

1
2
3
4
5
[[resources]]
  src = "cover.jpg"
  title = "Alternative Text"
  [resources.params]
    caption = "Photo by Ricardo Rocha on [Unsplash](https://unsplash.com/t/wallpapers)"

Using Front Matter

Covers can also be set using Front Matter.

1
2
3
4
[cover]
image = "/images/cover.jpg"
alt = "Alternative Text"
caption = "Image *Caption*"