I’m creating my own hugo theme here and now thinking the support for pagination.
Though I have tried several themes, I couldn’t confirm that pagination pages larger than 2 are created under public/page
, i.e. only public/page/1/index.html
exists. I have checked variables of .Paginator
and .TotalPages returns the correct number. I also confirmed that rendered HTML from _internal/pagination.html
is showing right content. Only pager file generation is not working. Has anyone faced similar issue?
My environment is:
OS: OS X 10.10.5
Hugo version: v0.17 BuildDate: 2016-10-07T14:44:50+09:00 and v0.15 BuildDate: 2015-11-25T14:34:54+09:00