Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong count of total number of pages #26

Open
etanot opened this issue Sep 14, 2021 · 0 comments
Open

Wrong count of total number of pages #26

etanot opened this issue Sep 14, 2021 · 0 comments

Comments

@etanot
Copy link

etanot commented Sep 14, 2021

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:

hugo-smol-theme

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant