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

Introduce a reserved template namespace #13278

Open
jmooring opened this issue Jan 18, 2025 · 1 comment
Open

Introduce a reserved template namespace #13278

jmooring opened this issue Jan 18, 2025 · 1 comment
Labels
Milestone

Comments

@jmooring
Copy link
Member

This would allow us to provide embedded templates than cannot be overridden. See #13277.

@jmooring
Copy link
Member Author

Just to make sure we remember how we got here... we created the comments shortcode because with v0.137.0 and later we emit the "Raw HTML omitted while rendering" warning if the Markdown contains an HTML comment. If there were a way to not warn about HTML comments, this issue would be a very low priority.

bep added a commit to bep/hugo that referenced this issue Jan 21, 2025
We will still not render these comments, so from a safety perspective this is the same, but HTML comments are very common also inside Markdown and too useful to throw away.

Updates gohugoio#13278
@gohugoio gohugoio deleted a comment from bep Jan 21, 2025
bep added a commit that referenced this issue Jan 22, 2025
We will still not render these comments, so from a safety perspective this is the same, but HTML comments are very common also inside Markdown and too useful to throw away.

Updates #13278
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants