First of all sorry about the long post, and since I am on my phone I have limited copy/paste/insert code support.
I am (still ) working on a website and have been banging my head around a few issues:
I love the way hugo handles taxonomies, easy, elegant, awesome. But for this project I would like to separate my content (photos and captions) from general information found in the front matter. Is there an nice way to have the terms in a data file? The post title would be the element in common between content and data.
Counting stuff. My no. of posts is fixed and known, but not all is published from the beginning. How can I count all draft posts and all published posts and have some statistics of the progress (draft:true/draft:false ratio)? If I build with - - buildDrafts the numbers are correct.
Here is a minimal working example:
And the result:
Thanks for your help!