Display a section of tags as pills in the index page? #5519
Replies: 2 comments 3 replies
-
The built-in tags plugin supports generating a tags index page. Is that what you mean? It doesn't generate secondary pages per tag, though – all pages are listed below the tag on that index page. |
Beta Was this translation helpful? Give feedback.
-
but hiw can i generate a tag index just for a few tags? (i don't want them all, maybe just "tag1, tag2" .. is it possible? ah ok, found: https://squidfunk.github.io/mkdocs-material/plugins/tags/#config.tags_extra_files |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use mkdocs with Material theme as primarily a blog(using the blog plugin). I would like my index page to display a section of all tags contained in my posts such that if they are clicked they would show a page with a list of blog posts that contain that tag.
The current tags implementation as far as I understand, only adds a format of [tag pill followed by list of articles that have the tag],[next tag pill followed by list of articles].
Is there a way to simply print the list of tags as hyperlinks on the index page? something like this...
Beta Was this translation helpful? Give feedback.
All reactions