This reply is very related, but if you would like me to start a new thread, I can.
I’m trying to create a view so that when someone navigates to http://localhost:1313/2015
they can see all posts in that year, and same with http://localhost:1313/2015/01/
they can see all posts made in Jan 2015.
Note: http://localhost:1313/2015/01/test-post/
does render the proper post, but there are no “index.html” files in the 2015 or 01 folders.
I’ve read and reread the following pages on gohugo.io:
- /templates/list/
- /content/sections/,
and https://github.com/spf13/hugo/tree/master/examples/blog.
It seems as though I need to create something like this, but it doesn’t work.
/layouts/2015/2015.html
/layouts/2015/01/01.html
from the example blog, they have /layouts/indexes/post.html
which I don’t understand entirely, nor does it really do what I’m trying to do. What’s special about the indexes
folder name, I can’t find that in the documentation.