Matthew Cantelon


Recent posts

Render Multiple Content Types in One Loop with Hugo

Hugo has a way of creating views for content types that can be rendered anywhere on the site. Today I learned that if a template cannot be found, then no error occurs. Frustrating to debug but a useful feature once figured out. Using this knowledge, I have created a way to show only certain types of content in my homepage feed without complicated logic.

Jun 30, 2019   #hugo  #content view  #indieweb