I’ve been out of the Hugo loop for a bit, but it looks like Pagination is not a thing yet? Is there any known hack for the time being. It can be as dirty as Wordpress is provided it works. I only have about 20 posts, and I just want to show a count 1/20, 2/20 on the single template pages.
Can I return the number of published posts to the single template? That would be half the solution, and I could just add a custom front matter with manual pagination numbers for now.
Thanks. I’ve set a manual totalPostCount in config.toml for the time being, and am manually adding a postNumber in each posts’ front matter, but I through there might be a better workaround than this.
{{ if .Params.postNumber }}
<strong>{{ .Params.postNumber }}</strong>/{{ .Site.Params.totalPostCount }}
{{ end }}