I’m new to Hugo and didn’t consider that approach for lack of knowledge. It would work but I plan on having more categories as time goes by.
I’m sticking with the partials approach for now, as all that will change is inside the same div. And thanks for the reference link, it will surely come in handy
@bep thank you for the pointer, here’s the code I am using in case someone has the same goal:
{{ $category := replace (lower .Title) " " "-"}}
{{ $catpartial := (print "category_" $category ".html") }}
{{ partial $catpartial . }}