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

Page Resources of type page returns a .Permalink #5882

Closed
regisphilibert opened this issue Apr 20, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@regisphilibert
Copy link

commented Apr 20, 2019

Behaviour before .55 had Page Resources of type page not include a .Permalink which in my mind made sense considering such pages were not published.

Since .55 though, they do return a .Permalink which ultimately leads to a 404.

Please see last commit on https://github.com/regisphilibert/hugo-permalinks for example.

regisphilibert added a commit to regisphilibert/hugo-permalinks that referenced this issue Apr 20, 2019

@regisphilibert regisphilibert changed the title Page Resources of type page returns a `.Permalink Page Resources of type page returns a .Permalink Apr 20, 2019

@bep bep added the Bug label Apr 22, 2019

@bep bep added this to the v0.55.4 milestone Apr 22, 2019

bep added a commit to bep/hugo that referenced this issue Apr 22, 2019

hugolib: No links for bundled pages
This fixes a bug introduced in Hugo 0.55.

Fixes gohugoio#5882

@bep bep closed this in #5884 Apr 22, 2019

bep added a commit that referenced this issue Apr 22, 2019

hugolib: No links for bundled pages
This fixes a bug introduced in Hugo 0.55.

Fixes #5882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.