Compare commits
2 Commits
0b693a7d36
...
cd15701092
| Author | SHA1 | Date | |
|---|---|---|---|
| cd15701092 | |||
| 270be48baa |
@@ -27,7 +27,7 @@ enableEmoji = true
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[frontmatter]
|
||||
lastmod = ["lastmod", ":git", "date"]
|
||||
lastmod = [":git", ":filemod", "lastmod", "default"]
|
||||
|
||||
enableGitInfo = true
|
||||
|
||||
@@ -43,18 +43,18 @@ enableGitInfo = true
|
||||
[[module.mounts]]
|
||||
source = "/srv/docs/private"
|
||||
target = "content/private"
|
||||
[[module.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[module.mounts]]
|
||||
source = "/srv/configs"
|
||||
target = "assets/srv/configs"
|
||||
target = "assets/configs"
|
||||
|
||||
[security]
|
||||
[security.funcs]
|
||||
readFile = [".*"]
|
||||
"os.Stat" = [".*"]
|
||||
"os.ReadDir" = [".*"]
|
||||
[[module.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[security.exec]
|
||||
# Hugo must be allowed to run the asciidoctor binary
|
||||
allow = ['^asciidoctor$']
|
||||
allow = ["^asciidoctor$"]
|
||||
|
||||
Reference in New Issue
Block a user