smol
smol copied to clipboard
Wrong count of total number of pages
Type: Bug report
Description
When we create a new site without any post, count of total number of page is 0, which should be 1, see below screenshot:

Steps to reproduce
- Run following commands:
$ hugo new site quickstart $ cd quickstart $ git init . $ git submodule add https://github.com/colorchestra/smol/ themes/smol $ echo "theme = \"smol\"" >> config.toml $ hugo server - Now open address specified by hugo.
- Look for sentence "1 of 0".
Actual behavior
Count of total number of pages is 0.
Expected behavior
Count of total number of pages should be 1.
Additional
As soon as first post deployed, this issue is fixed.