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

[CI/infra] Front-matter params: place them under the params key #5761

Open
chalin opened this issue Dec 11, 2024 · 2 comments
Open

[CI/infra] Front-matter params: place them under the params key #5761

chalin opened this issue Dec 11, 2024 · 2 comments
Assignees

Comments

@chalin
Copy link
Contributor

chalin commented Dec 11, 2024

Since Hugo 0.123.0 custom params must be under the parms key in page front matter. Without it, we can get failures like https://github.com/open-telemetry/opentelemetry.io/actions/runs/12278556636/job/34260597540?pr=5758.

@chalin chalin self-assigned this Dec 11, 2024
@chalin chalin changed the title [CI/infra] Front-matter params must be under the params key [CI/infra] Front-matter params: place them under the params key Dec 11, 2024
@chalin
Copy link
Contributor Author

chalin commented Dec 11, 2024

I re-read the Hugo docs and this isn't a requirement, but it does more cleanly separate concerns (and, I believe, reflect how things are managed internally).

@svrnm
Copy link
Member

svrnm commented Dec 12, 2024

What about moving them out of the documents into the data folder? This way they would be much easier to reuse across the page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants