get tags by popularity (number of posts) #106

Closed
timbertson opened this Issue Dec 5, 2009 · 2 comments

Projects

None yet

4 participants

@timbertson
Contributor

I think ordered hashes are not available in 1.8, so this is not as neat as it could be. But I've added an additional item to the site payload that returns the tags as an ordered set of [name, [post1, post2, postn...]] pairs, ordered by the number of posts.

It would probably be cleaner to make this a method on the existing tags hash, but I'm not sure how.

http://github.com/gfxmonk/jekyll/commit/1f3ef4777e0de1f5950e4d41884697bc89f31e57

@parkr
Member
parkr commented Dec 8, 2012

Close?

@qrush
Contributor
qrush commented Jan 2, 2013

Yeah, I think so. This could be a custom tag if you wanted it, but not in core. 🔨

@qrush qrush closed this Jan 2, 2013
@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.