I’m trying to implement per-section content filter as in the following scenario.
Topmost sections of the site are as follows:
Docs
Blog
Others
In Blog, there will be several types of posts, e.g. Article, Video, and News.
There will be buttons for each type, and when you press a button, only the corresponding posts should be displayed.
In this case, can I use Hugo taxonomy in order to implement content filtering under Blog section only?
We prefer to do it Hugo way instead of using many CSS and JS codes.
And I’m not sure what you mean by (2). Are you asking whether you can filter by date in the list.html for a category? I.e. only list posts from 2018 in the Video category?
For (1), I found a clue from the following and could achieve a similar effect by defining the taxonomy with “[section-name]/taxonomy”
(2) means using date param as a taxonomy and specific date value as terms, but I found out that date (as well as other built-in params) is not supposed to be used as such by definition. Is this correct?