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

section.SectionsEntries adds an empty string when not backed by a file #11184

Closed
bep opened this issue Jun 28, 2023 · 1 comment · Fixed by #11185
Closed

section.SectionsEntries adds an empty string when not backed by a file #11184

bep opened this issue Jun 28, 2023 · 1 comment · Fixed by #11185
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Jun 28, 2023

This doesn't currently have much practical negative side-effects, but was discovered no that we allow permalink configuration for sections.

@bep bep added the Bug label Jun 28, 2023
@bep bep self-assigned this Jun 28, 2023
@bep bep added this to the v0.115.0 milestone Jun 28, 2023
bep added a commit to bep/hugo that referenced this issue Jun 28, 2023
bep added a commit to bep/hugo that referenced this issue Jun 28, 2023
bep added a commit to bep/hugo that referenced this issue Jun 28, 2023
bep added a commit to bep/hugo that referenced this issue Jun 28, 2023
bep added a commit to bep/hugo that referenced this issue Jun 29, 2023
* Move config loading to the page package
* Fix a lower bound panic for the `:sections` slice syntax.
* Always return the `:title`
* Add some permalinks integration tests
* Also see issues below

Fixes gohugoio#9448
Fixes gohugoio#11184
See gohugoio#8523
bep added a commit to bep/hugo that referenced this issue Jun 29, 2023
* Move config loading to the page package
* Fix a lower bound panic for the `:sections` slice syntax.
* Always return the `:title`
* Add some permalinks integration tests
* Also see issues below

Fixes gohugoio#9448
Fixes gohugoio#11184
See gohugoio#8523
bep added a commit that referenced this issue Jun 29, 2023
* Move config loading to the page package
* Fix a lower bound panic for the `:sections` slice syntax.
* Always return the `:title`
* Add some permalinks integration tests
* Also see issues below

Fixes #9448
Fixes #11184
See #8523
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant