inSileco / inSileco.github.io

:globe_with_meridians: Our blog powered by blogdown
https://blog.insileco.io/
GNU General Public License v3.0
8 stars 1 forks source link

Sorting posts #38

Closed KevCaz closed 6 years ago

KevCaz commented 6 years ago

So far our posts are only ordered by date. Using Hugo, it is actually pretty straight forward to create a page on which posts would be classified by tags and categories. This requires us to use taxonomies, see https://gohugo.io/content-management/taxonomies/

So changes in the theme are required I think, I'll take care of this asap.

KevCaz commented 6 years ago

I have changed the code so that tag and category taxonomies are activated in b50011a04021ee51c80ff0d13fa563dbe8772350. So far tag taxonomy is the only one in use, which I think is enough (if you disagree, let me know). So, currently posts are sorted using date and tags that can be set in the yaml front matter of all posts. If at some point we need new way to sort posts let's open a new issue.