Easy documentation with Docsy

The Docsy Hugo theme lets project maintainers and contributors focus on content, not on reinventing a website infrastructure from scratch

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.

Including images

Here’s an image that includes a byline and a caption.

Image cropped to 500x300
Photo by Peter Xie from Pexels

The front matter of this post specifies properties to be assigned to all image resources:

resources:
  - src: '**.{png,jpg}'
    params:
      byline: Photo by Peter Xie from Pexels

To include the image in a page, specify its details like this:

{{< imgproc sunset Crop "500x300" >}}
Image cropped to 500x300
{{< /imgproc >}}

The image will be rendered at the size and byline specified in the front matter.