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

Live-reload fails with _index.md with paginator #3315

Closed
bep opened this Issue Apr 10, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Member

bep commented Apr 10, 2017

So,

  • if you add a _index.md for home page
  • Then do a edit on a page that is on the home page
  • The home page isn't re-rendered.
  • If you delete the _index.md, the live-reload works as expected.

You will see an error similar to:

at <.Paginate>: error calling Paginate: invoked multiple times with different arguments 

@bep bep added the Bug label Apr 10, 2017

@bep bep self-assigned this Apr 10, 2017

@bep bep modified the milestones: v0.21, v0.20.1 Apr 10, 2017

@bep bep changed the title from Live-reload issue with _index.md vs the others to Live-reload fails with _index.md with paginator Apr 12, 2017

bep added a commit to bep/hugo that referenced this issue Apr 12, 2017

bep added a commit to bep/hugo that referenced this issue Apr 12, 2017

hugolib: Must recreate Paginator on live-reload
The structure may potentially have changed, and then it fails.

Fixes gohugoio#3315

bep added a commit that referenced this issue Apr 12, 2017

@bep bep closed this in 45c7452 Apr 12, 2017

@ghost ghost referenced this issue May 22, 2017

Open

spf13/hugo v0.21 released #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment