]> juplo.de Git - website/commitdiff
fix: security.allowContent für Hugo 0.162.0 ergänzt
authorKai Moritz <kai.milan.moritz@googlemail.com>
Wed, 3 Jun 2026 23:00:25 +0000 (23:00 +0000)
committerKai Moritz <kai.milan.moritz@googlemail.com>
Wed, 3 Jun 2026 23:00:25 +0000 (23:00 +0000)
Hugo 0.162.0 blockiert HTML-Inhaltsdateien standardmäßig über die neue
Sicherheitsrichtlinie. allowContent ist eine Allowlist — das Pattern
"^text/" erlaubt text/markdown und text/html (benötigt u.a. für die
generierten Maven-Site-HTML-Dateien in projects/).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
hugo.yaml
themes/hugo-juplo

index 4905777a384f13172f731cece4c23d9996635b03..b3e684a2022e5d9379cccf8b007aa15d0ed34ab7 100644 (file)
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -1,4 +1,7 @@
 baseURL: https://juplo.de
+security:
+  allowContent:
+    - "^text/"
 disablePathToLower: true
 copyright: Kai Moritz
 languageCode: en-US
index 593e6a701da261c5d0fa6bc91bb35d607c2af7a7..3504983dc9a87c9b92ab8c648c084202a368cb9d 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 593e6a701da261c5d0fa6bc91bb35d607c2af7a7
+Subproject commit 3504983dc9a87c9b92ab8c648c084202a368cb9d