This is a typical blog post that includes images.
The front matter specifies the date of the blog post, its title, a short description that will be displayed on the blog landing page, and its author.
Here’s an image (featured-sunset-get.png
) that includes a byline and a caption.
Fetch and scale an image in the upcoming Hugo 0.43.
Photo: Riona MacNamara / CC-BY-CA
The front matter of this post specifies properties to be assigned to all image resources:
resources:
- src: "**.{png,jpg}"
title: "Image #:counter"
params:
byline: "Photo: Riona MacNamara / CC-BY-CA"
To include the image in a page, specify its details like this:
{{< imgproc sunset Fill "600x300" >}}
Fetch and scale an image in the upcoming Hugo 0.43.
{{< /imgproc >}}
The image will be rendered at the size and byline specified in the front matter.
([@rionam](https://x.com/bepsays)) R. M. (2018). Easy documentation with Docsy.https://KintaroAI.com/2018/10/06/easy-documentation-with-docsy/ (KintaroAI)
@misc{rionamacnamararionamhttpsxcombepsays2018easydocumentationwithdocsy,
author = {Riona MacNamara ([@rionam](https://x.com/bepsays))},
title = {Easy documentation with Docsy},
year = {2018},
url = {https://KintaroAI.com/2018/10/06/easy-documentation-with-docsy/},
}