Hello there community I need a little help, there is something I’ve been trying to do for a while
My boss wants our website to have a categories subpage in the blog, something like this:
website.com/blog/categoriaX
website.com/blog/categoriaY
This means that a publication in website.com/blog could appear in a category subpage
I’ve tried to create a file in:
layouts/blog/categorieX/list.html
and I’m using:
{{ range (where .Site.Pages "Type" "=" "blog") }}
{{ partial "posts.html" . }}
{{ end }}
I’ve also tried
{{ range (where .Data.Pages "Section" "=" "blog") }}
{{ partial "posts.html" . }}
{{ end }}
that’s just to show all the posts in the subpages I have yet to filter by category taxonomy
a solution I found was to duplicate the post from /content/blog
to /content/blog/categorieX but is not the most practical solution
Is this possible in Hugo v0.26? Can you give me some advice?
Thanks in advance