Hero images for articles

This commit is contained in:
Nuno Coração committed 2022-10-15 16:20:41 +01:00
1 parent c2d01e5dbe
commit 753d821cef
23 files changed
+52 -12

No files matched your search

+5 -1
View File
@@ -36,4 +36,8 @@ content
└── awesome_article
└── featured.png
```
The you just need to add an image like explain earlier. If you want to see a sample of this you can consult [this sample]({{< ref "thumbnail_sample" >}}).
The you just need to add an image like explain earlier. If you want to see a sample of this you can consult [this sample]({{< ref "thumbnail_sample" >}}).
## Hero Images
Thumbnails will be used by default as hero images withing each article. Use the global `article.showHero` or the front-matter parameter `showHero` to control this feature across the entire site or for each specific post.