From 3e8a37ef60f2d0c595257dfa9cba8baf0af291f7 Mon Sep 17 00:00:00 2001 From: Nedjo Rogers Date: Wed, 13 Apr 2022 15:24:32 -0700 Subject: [PATCH] Make sample image available as a global resource (#362) --- .../images/Victor_Hugo-Hunchback.jpg | Bin exampleSite/content/en/about/index.md | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename exampleSite/{static => assets}/images/Victor_Hugo-Hunchback.jpg (100%) diff --git a/exampleSite/static/images/Victor_Hugo-Hunchback.jpg b/exampleSite/assets/images/Victor_Hugo-Hunchback.jpg similarity index 100% rename from exampleSite/static/images/Victor_Hugo-Hunchback.jpg rename to exampleSite/assets/images/Victor_Hugo-Hunchback.jpg diff --git a/exampleSite/content/en/about/index.md b/exampleSite/content/en/about/index.md index f1d53d4..fd4a1c9 100644 --- a/exampleSite/content/en/about/index.md +++ b/exampleSite/content/en/about/index.md @@ -1,7 +1,9 @@ --- title: "About" description: "A few years ago, while visiting or, rather, rummaging about Notre-Dame, the author of this book found, in an obscure nook of one of the towers, the following word, engraved by hand upon the wall: —ANANKE." -featured_image: '/images/Victor_Hugo-Hunchback.jpg' +# To support processing, image must be a page resource or global resource. +# @see https://gohugo.io/content-management/image-processing/ +featured_image: 'images/Victor_Hugo-Hunchback.jpg' featured_image_data: # Used as a setting when cropping the featured image for use in the header. # See valid values at https://gohugo.io/content-management/image-processing/#anchor.