Sort the posts using one type tag e.g ("Generation 23")


All my posts are using several tags One of them is “Generation X” with X, a number between 1 and 100. I would like to order all my post based on those Tags. E.g. first posts are the one named “Generation 1” and last posts are the one with “Generation 9”. those Tags are not primary!

Any advice or solution ?

This appears to be possible, with some work. First, you’ll want to look at the “Get helper” for templates:

The Get Helper in turn uses the Ghost Content API, so you’ll want to look at that as well:

The way I read the docs use a Get help to get posts, making sure to use the include feature to include tags, and then the order feature to order by something like tags asc.

I haven’t tested this, though!