Compare commits

...

2 Commits

Author SHA1 Message Date
cd15701092 test git / lastmod 2026-04-01 06:23:31 +00:00
270be48baa test include 2026-03-29 08:21:56 +00:00

View File

@@ -27,7 +27,7 @@ enableEmoji = true
home = ["HTML", "RSS", "JSON"] home = ["HTML", "RSS", "JSON"]
[frontmatter] [frontmatter]
lastmod = ["lastmod", ":git", "date"] lastmod = [":git", ":filemod", "lastmod", "default"]
enableGitInfo = true enableGitInfo = true
@@ -43,18 +43,18 @@ enableGitInfo = true
[[module.mounts]] [[module.mounts]]
source = "/srv/docs/private" source = "/srv/docs/private"
target = "content/private" target = "content/private"
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]] [[module.mounts]]
source = "/srv/configs" source = "/srv/configs"
target = "assets/srv/configs" target = "assets/configs"
[security] [security]
[security.funcs] [security.funcs]
readFile = [".*"] readFile = [".*"]
"os.Stat" = [".*"] "os.Stat" = [".*"]
"os.ReadDir" = [".*"] "os.ReadDir" = [".*"]
[[module.mounts]]
source = "assets"
target = "assets"
[security.exec] [security.exec]
# Hugo must be allowed to run the asciidoctor binary # Hugo must be allowed to run the asciidoctor binary
allow = ['^asciidoctor$'] allow = ["^asciidoctor$"]