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

resources/page: Expand parmalinks tokens in url #12695

Merged
merged 5 commits into from
Aug 1, 2024
Merged

Conversation

n1xx1
Copy link
Contributor

@n1xx1 n1xx1 commented Jul 31, 2024

This change allows to use permalink tokens in url front matter fields. This should be useful to target more specific pages instead of using a global permalink configuration. It's expected to be used with cascade.

Fixes #9714.

@CLAassistant
Copy link

CLAassistant commented Jul 31, 2024

CLA assistant check
All committers have signed the CLA.

hugolib/page__paths.go Show resolved Hide resolved
hugolib/page_permalink_test.go Show resolved Hide resolved
@n1xx1 n1xx1 requested a review from bep August 1, 2024 09:03
resources/page/permalinks.go Outdated Show resolved Hide resolved
@n1xx1 n1xx1 requested a review from bep August 1, 2024 09:23
@bep bep merged commit 566fe7b into gohugoio:master Aug 1, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

Allow permalinks configuration syntax to url Front Matter.
3 participants