Automate Tag processing in AstroJS

Опубликовано: 28 Июнь 2026
на канале: That Developer Dad
29
0

This afternoon, we added some more advanced JavaScript to our tags page to:
1 - Read the .md files in our posts folder.
2 - pull in the tags from each, and build an index of the unique topics we cover on the different articles we'll post.
3 - added a 'Topic Index" page to the site and linked it out through the Nav component.
4- Added a 'Topics' list to our article template. This lists the identified topics for the current article, and lets the user navigate to the index for that topic. Super cool!

-- We are building: https://www.thatdeveloperdad.com
-- We are using: https://astro.build
-- Watch live at   / thatdeveloperdad