From f77ccee227f9c877f54fcb5ce5a41ac669af284c Mon Sep 17 00:00:00 2001 From: jackwdandrew <47725163+jackwdandrew@users.noreply.github.com> Date: Sun, 9 Jun 2024 18:41:55 +0100 Subject: [PATCH] fix: update filepaths in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2b2363..8112338 100644 --- a/README.md +++ b/README.md @@ -112,13 +112,13 @@ To enable comments, add following to your config file: ### Change the hero background -For any page or post you can add a featured image by including the local path in front matter (see content in the `exampleSite/content/_readme.md` file for examples): `featured_image: '/images/gohugo-default-sample-hero-image.jpg'` +For any page or post you can add a featured image by including the local path in front matter (see content in the `exampleSite/content/en/_index.md` file for examples): `featured_image: '/images/gohugo-default-sample-hero-image.jpg'` #### Featured image as Page Resources If user is using [Page Resources](https://gohugo.io/content-management/page-resources/), the theme will try and match the `featured_image` from with a page resource of type `image` and use its relative permalink. If no `featured_image` is set, the theme will look for a Page Resource of type `image` whose filepath incudes either `cover` or `feature` #### Other hero settings -If you would like to hide the header text on the featured image on a page, set `omit_header_text` to `true`. See `exampleSite/content/contact.md` for an example. +If you would like to hide the header text on the featured image on a page, set `omit_header_text` to `true`. See `exampleSite/content/en/contact.md` for an example. You don't need an image though. The default background color is black, but you can change the color, by changing the default color class in the config.toml file. Choose a background color from any on the [Tachyons](https://tachyons.io/docs/themes/skins/) library site, and preface it with "bg-"