Photo pages

If you’ve uploaded photos and included them in blog posts, will create a page at /photos on your hosted blog automatically. You can rename or delete this page under Posts → Pages on the web. only includes JPEGs for the photos page to help filter out screenshots which are usually PNGs. If you want to change this behavior, you can customize the photos template list.photoshtml.html using a new theme. sets 2 special parameters in Hugo that are accessible from a custom theme:

  • .Params.images — includes JPEGs or PNGs
  • — only includes JPEGs

The default templates shared between all themes are also available on GitHub here.

Back to Help Table of Contents