docs(fix): proper TOML format for frontmatter sample (#717)

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
Patrick Kollitsch 2024-09-19 16:04:12 +07:00 committed by GitHub
parent 321680f6ee
commit ca6da4883e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ To enable comments, add following to your config file:
### Change the hero background ### 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/_readme.md` file for examples): `featured_image = '/images/gohugo-default-sample-hero-image.jpg'`
#### Featured image as Page Resources #### Featured image as Page Resources