Closed zhanghaomiao closed 6 years ago
I found css that helped me with thus, not quite like the structured format you have, but i was really happy with the result. The only things I haven't had time to figure out was how to sort highest tags to top and increase the size of the tag based on counts.
I cobbled this together primarily from a post by Justin Keylly
You'll have to use the sort
filter on the array... maybe using the size
property.
Have you asked for help on Jekyll Talk? You'll get answer quicker there than from me as this is vanilla Liquid/Jekyll. Nothing special related to the theme to do this.
Also if you look at my other theme So Simple you'll see how I'm sorting it by tag count.
https://github.com/mmistakes/so-simple-theme/blob/master/_layouts/tags.html
Thanks, no, i haven't, i was posting more to help in case it saved @travelalone some work, or you, that said, thanks for the pointers as it was something I wanted to know for sure.
New layouts have been added to the master
branch and will be available in the next theme release.
layout: categories
layout: tags
layout: collection
with grid viewlayout: posts
bundle update
.bundle exec jekyll build
.When I browse the
Tag Archive
page, I should spend a lot time to find the tags I need.Could you add some Tags' collection at the head of
Tag Archive
page, like your so simple theme and also posts page and categories page?Like this: