Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Boothe <git@rootwork.org>2022-04-08 00:11:43 +0300
committerIvan Boothe <git@rootwork.org>2022-04-08 00:11:43 +0300
commite8460cad3d18fecb1f7ee358b819d82784f5f243 (patch)
treee3a47d843b19978cfd7063cbad08a19e69646f43 /exampleSite
parenta0c2e2da225ecee12b39fd65a0ce4019808898a4 (diff)
adding a featured image to the bundle page
Signed-off-by: Ivan Boothe <git@rootwork.org>
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/bundle/index.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/exampleSite/content/bundle/index.md b/exampleSite/content/bundle/index.md
index 1ccd279..3842924 100644
--- a/exampleSite/content/bundle/index.md
+++ b/exampleSite/content/bundle/index.md
@@ -6,9 +6,12 @@ aliases:
- hugo-page-bundles
author: 'Hugo Authors'
usePageBundles: true
-resources:
-- alt: A building
- src: building.png
+
+featureImage: https://images.unsplash.com/photo-1447069387593-a5de0862481e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1169&q=80 # Top image on post.
+# featureImageAlt: 'Description of image' # Alternative text for featured image.
+# featureImageCap: 'This is the featured image.' # Caption (optional).
+# thumbnail: 'thumbnail.jpg' # Image in lists of posts.
+# shareImage: 'share.jpg' # For SEO and social media snippets.
---
[Page bundles](https://gohugo.io/content-management/page-bundles/) are an optional way to [organize page resources](https://gohugo.io/content-management/page-resources/) within Hugo.