jingwu2121 / astro-micro-academic

Astro Micro Academic Theme. Built on Astro Micro and Nano, an academic theme for researchers
https://astro-micro-academic.vercel.app
MIT License
7 stars 1 forks source link

List of tags ordered by popularity #1

Open asarkar opened 4 weeks ago

asarkar commented 4 weeks ago

I like the minimalist style, thanks for making the theme freely available. However, there’s one feature that I really want in my blog which isn’t present in the OOTB theme. It’s a list of tags, and optionally categories, ordered by popularity.

currently the theme shows a list of tags, but not a count of the posts associated with each tag. Is this something you can add to the theme? If not, can a user of your user make this modification easily?

jingwu2121 commented 4 weeks ago

Hi, thank you for your interest. That is a good suggestion. I'll find time to add. You could also modify this file src/pages/tags/index.astro to implement this function. You can fork this project and modify it, then send me a pull request. It is also possible. :)

asarkar commented 3 weeks ago

I’m new to Astro and not a JS expert, so, the barrier of entry for me to make a PR is unfortunately pretty high.

jingwu2121 commented 3 weeks ago

It is okay, I will find a time to implement and let you know when it is finished