Compare commits
2 Commits
0b693a7d36
...
cd15701092
| Author | SHA1 | Date | |
|---|---|---|---|
| cd15701092 | |||
| 270be48baa |
@@ -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$"]
|
||||||
|
|||||||
Reference in New Issue
Block a user