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

Filter special pages out of list fragment's displayed pages #607

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

mpourismaiel
Copy link
Member

What this PR does / why we need it:
List fragment listed special pages (_global and _index). Seems like we have to do everything in our own code. Including filtering headless pages which should not be listed anyways. At least when .Paginate is called.

Which issue this PR fixes:
fixes #595

Release note:

- list: Remove special pages from fragment. The bug occurs in Hugo>=0.57

@mpourismaiel mpourismaiel added this to the v0.16.0 milestone Sep 12, 2019
@mpourismaiel mpourismaiel requested a review from stp-ip September 12, 2019 12:10
@mpourismaiel mpourismaiel self-assigned this Sep 12, 2019
@ghost
Copy link

ghost commented Sep 12, 2019

DeepCode Report (#ba2bf9)

DeepCode analyzed this pull request.
There are no new issues.

@stp-ip stp-ip merged commit 425bfed into okkur:master Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

List fragment shows index page and empty page for each section in Hugo v0.57
2 participants