Skip to content

Commit ceebbc6

Browse files
prql-botclaude
andauthored
fix: opt back into text/html content for Hugo 0.162.0 (#5959)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent dbebe09 commit ceebbc6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

web/website/config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ disableKinds:
99

1010
enableGitInfo: true
1111

12+
# Hugo v0.162.0 denies text/html content by default. Opt back in so
13+
# content/demos/ace-demo.html (a hand-authored standalone editor page)
14+
# continues to build. ['.*'] is the documented opt-in from the release notes.
15+
security:
16+
allowContent:
17+
- ".*"
18+
1219
menu:
1320
nav:
1421
# TODO: Can we use the info from pages directly? https://gohugo.io/templates/menu-templates/#menu-entries-from-the-pages-front-matter

0 commit comments

Comments
 (0)