Hello - after starting to use this version:
Hugo Static Site Generator v0.58.3-4AAC02D4/extended darwin/amd64 BuildDate: 2019-09-19T15:33:56Z
…against this repo for my site at https://logr.cogley.info, I find that the top index page is broken and I wanted to ask for help since I am not finding what is wrong.
When I run hugo server
like this using verbose:
hugo server --navigateToChanged --buildDrafts --buildFuture --watch --verbose
… I just get this error:
INFO 2019/09/30 13:25:58 postcss: use config file /Users/rcogley/dev/logr.cogley.info/postcss.config.js
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
… but nothing about templates etc. I tried running the recommended npm update but, the error keeps appearing.
I tried editing my /layouts/index.html to make its pagination code closer to what’s in the docs.
https://git.sr.ht/~rickcogley/logr.cogley.info/commit/master
Additionally I added <span>{{$paginator.TotalPages}}</span>
to my index template as a sanity check, but it returns 1. I have a bunch of content on this site, so this should be showing several pagination pages of 20. Well, at least there were several pages’ worth before I upgraded hugo.
I’m sure I’m missing something … appreciate any help anyone might give, thanks.