Hello, I’m trying to implement this: https://www.control-alt-del.org/posts/building-an-image-gallery-for-hugo/
However I want to use the gallery in theme-name/layouts/partials/widgets/categories.html
but I get the error
Process: loading templates: "/themes/theme-name/layouts/partials/widgets/categories.html:1:1": parse failed: template: partials/widgets/categories.html:1: unexpected "<" in command
The shortcode does work under content pages, but I need to use it in the category page.