Hero images for articles

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

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.