I’m currently exploring Hugo themes and websites, and I’m particularly interested in incorporating filters into my project. Since Hugo primarily generates static pages, I’m looking for guidance on how to implement filters effectively.
I have a list of results that display properties, and these results need to be filterable based on various criteria, such as residential or commercial properties. Furthermore, under the residential category, we have sub-filters like home, apartment and villa etc.
I’m also curious if anyone has already tackled a similar project using Hugo and filters. Your insights and experiences would be greatly appreciated.
the website you mention is using Hugo taxonomy with possibility of only 1 selection this is very easy to achieve in Hugo.
but it becomes very complicated when you combine selections for example select 2 different options and filter. I wonder in such case if it makes sense to generate all combination pages statically or export json data to generate list page results.