Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 18:16:42 +0000
From:      Fernando Apeste=?utf-8?Q?gu=C3=ADa?= <fernape@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 756aa08ce1 - main - [website]: Allow plain html content
Message-ID:  <6a19d80a.1c9aa.c3d5dbf@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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$"]


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a19d80a.1c9aa.c3d5dbf>