99 lines
2.0 KiB
TOML
99 lines
2.0 KiB
TOML
# -- Site Configuration --
|
||
# Refer to the theme docs for more details about each of these parameters.
|
||
# https://blowfish.page/docs/getting-started/
|
||
|
||
# theme = "blowfish"
|
||
baseURL = "https://dev.wompmacho.com/"
|
||
defaultContentLanguage = "en"
|
||
|
||
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
|
||
|
||
enableRobotsTXT = true
|
||
summaryLength = 0
|
||
|
||
buildDrafts = false
|
||
buildFuture = false
|
||
|
||
enableEmoji = true
|
||
|
||
# googleAnalytics = "G-XXXXXXXXX"
|
||
|
||
[pagination]
|
||
pagerSize = 100
|
||
|
||
[imaging]
|
||
anchor = 'Center'
|
||
|
||
[taxonomies]
|
||
tag = "tags"
|
||
category = "categories"
|
||
author = "authors"
|
||
series = "series"
|
||
|
||
[sitemap]
|
||
changefreq = 'daily'
|
||
filename = 'sitemap.xml'
|
||
priority = 0.5
|
||
|
||
[outputs]
|
||
home = ["HTML", "RSS", "JSON"]
|
||
|
||
[related]
|
||
threshold = 0
|
||
toLower = false
|
||
|
||
[[related.indices]]
|
||
name = "tags"
|
||
weight = 100
|
||
|
||
[[related.indices]]
|
||
name = "categories"
|
||
weight = 100
|
||
|
||
[[related.indices]]
|
||
name = "series"
|
||
weight = 50
|
||
|
||
[[related.indices]]
|
||
name = "authors"
|
||
weight = 20
|
||
|
||
[[related.indices]]
|
||
name = "date"
|
||
weight = 10
|
||
|
||
[[related.indices]]
|
||
applyFilter = false
|
||
name = 'fragmentrefs'
|
||
type = 'fragments'
|
||
weight = 10
|
||
|
||
[module]
|
||
[[module.mounts]]
|
||
source = "content"
|
||
target = "content"
|
||
[[module.mounts]]
|
||
source = "/srv/docs/private"
|
||
target = "content/private"
|
||
[[module.mounts]]
|
||
source = "/srv/docs/public/projects/hugo"
|
||
target = "content/public/projects/hugo"
|
||
[[module.mounts]]
|
||
source = "assets"
|
||
target = "assets"
|
||
[[module.mounts]]
|
||
source = "/srv/configs"
|
||
target = "assets/configs"
|
||
[[module.mounts]]
|
||
source = "/srv/dev/hugo/wiki"
|
||
target = "assets/dev/hugo/wiki"
|
||
|
||
[security]
|
||
[security.funcs]
|
||
readFile = [".*"]
|
||
"os.Stat" = [".*"]
|
||
"os.ReadDir" = [".*"]
|
||
[security.exec]
|
||
allow = ['^git$', '^go$', '^npx$', '^postcss$', '^asciidoctor$']
|
||
|