git: 756aa08ce1 - main - [website]: Allow plain html content

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 29 May 2026 18:16:42 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=756aa08ce18c3551e741b15fb1bda58fde3985eb

commit 756aa08ce18c3551e741b15fb1bda58fde3985eb
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2026-05-29 17:04:26 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2026-05-29 18:15:47 +0000

    [website]: Allow plain html content
    
    In preparation for the update to 0.162.0 which disallows html directly.
    Narrow it down to html and asciidoc
---
 website/hugo.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/website/hugo.toml b/website/hugo.toml
index 22e19c1cb1..1e73b65baa 100644
--- a/website/hugo.toml
+++ b/website/hugo.toml
@@ -19,6 +19,7 @@ preserveTOC = true
     extensions = ["man-macro", "inter-document-references-macro", "sectnumoffset-treeprocessor", "packages-macro", "git-macro"]
 
 [security]
+  allowContent = ['^text/html$', '^text/asciidoc$']
   enableInlineShortcodes = false
   [security.exec]
     allow = ["^dart-sass-embedded$", "^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"]