zankhq / astros

Template with astro, tailwind and alpinejs
https://astros.zank.studio
GNU General Public License v3.0
196 stars 66 forks source link

Category Pages for the Blog #42

Closed deployn closed 7 months ago

deployn commented 9 months ago

I would like to have category pages implemented to improve the navigation and organization of the content. Currently, it is difficult to browse through specific topics or find related articles. Adding category pages (as in Astros) would enhance user experience and make it easier for our readers to discover content that is relevant to their interests.

Expected Behavior: When a user clicks on a category link or selects a category from the navigation menu, they should be directed to a dedicated page that displays all the articles related to that specific category. The category page should provide a clear overview of the available articles and allow users to easily navigate between them.

deployn commented 9 months ago

I tried to implement this myself, but strugle with the translation filter. I will try to fix this and add a pr when I have more time.

zanhk commented 9 months ago

Hi, Actually on astros there should have been the category page, ex. https://astros.zank.studio/blog/category/tutorials/ but looks like there has been a regression and now they are not working, I will take a look.

deployn commented 9 months ago

I know it's working on Astros (there are tags and catrogies pages), but there is not such a functionality in astro/starter

zanhk commented 9 months ago

I m not planning to implement such functionality on astro starter as I want to keep that template very minimal.