From cce05d8127d120114bc18f728996e9b433e4a475 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 3 Jun 2026 23:00:25 +0000 Subject: [PATCH] =?utf8?q?fix:=20security.allowContent=20f=C3=BCr=20Hugo?= =?utf8?q?=200.162.0=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- hugo.yaml | 3 +++ themes/hugo-juplo | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hugo.yaml b/hugo.yaml index 4905777a..b3e684a2 100644 --- 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 diff --git a/themes/hugo-juplo b/themes/hugo-juplo index 593e6a70..3504983d 160000 --- a/themes/hugo-juplo +++ b/themes/hugo-juplo @@ -1 +1 @@ -Subproject commit 593e6a701da261c5d0fa6bc91bb35d607c2af7a7 +Subproject commit 3504983dc9a87c9b92ab8c648c084202a368cb9d -- 2.39.5