mirror of
https://github.com/tiennm99/hugoThemesSiteBuilder.git
synced 2026-10-16 00:14:57 +00:00
config: Reformat
This commit is contained in:
1 file changed
+89
-92
@@ -1,129 +1,126 @@
|
||||
|
||||
baseurl = "https://themes.gohugo.io/"
|
||||
languageCode = "en-us"
|
||||
title = "Hugo Themes"
|
||||
baseurl = "https://themes.gohugo.io/"
|
||||
languageCode = "en-us"
|
||||
title = "Hugo Themes"
|
||||
googleAnalytics = "G-MBZGKNMDWC"
|
||||
disableKinds = ["taxonomyTerm"]
|
||||
disableKinds = ["taxonomyTerm"]
|
||||
|
||||
[security]
|
||||
enableInlineShortcodes = false
|
||||
[security.exec]
|
||||
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
|
||||
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
|
||||
[security.funcs]
|
||||
getenv = ['^HUGO_', 'REPOSITORY_URL', 'BRANCH']
|
||||
[security.http]
|
||||
# Disallow all HTTP for now.
|
||||
enableInlineShortcodes = false
|
||||
[security.exec]
|
||||
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
|
||||
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
|
||||
[security.funcs]
|
||||
getenv = ['^HUGO_', 'REPOSITORY_URL', 'BRANCH']
|
||||
[security.http]
|
||||
# Disallow all HTTP for now.
|
||||
|
||||
[module]
|
||||
[module.hugoVersion]
|
||||
min = "0.56.0"
|
||||
[[module.imports]]
|
||||
path="github.com/gohugoio/hugoThemesSite"
|
||||
[module.hugoVersion]
|
||||
min = "0.56.0"
|
||||
[[module.imports]]
|
||||
path = "github.com/gohugoio/hugoThemesSite"
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe= true
|
||||
unsafe = true
|
||||
|
||||
[blackfriday]
|
||||
plainIdAnchors=true
|
||||
config = "config-tpl-base.toml"
|
||||
plainIdAnchors = true
|
||||
config = "config-tpl-base.toml"
|
||||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
|
||||
home = ["HTML", "RSS", "REDIR", "HEADERS"]
|
||||
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/netlify"]
|
||||
suffixes = [ "" ]
|
||||
delimiter = ""
|
||||
[mediaTypes."text/netlify"]
|
||||
suffixes = [""]
|
||||
delimiter = ""
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.REDIR]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_redirects"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
[outputFormats.HEADERS]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_headers"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
[outputFormats.REDIR]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_redirects"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
[outputFormats.HEADERS]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_headers"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
|
||||
[related]
|
||||
threshold = 80
|
||||
includeNewer = true
|
||||
toLower = false
|
||||
threshold = 80
|
||||
includeNewer = true
|
||||
toLower = false
|
||||
|
||||
[[related.indices]]
|
||||
name = "tags"
|
||||
weight = 100
|
||||
[[related.indices]]
|
||||
name = "date"
|
||||
weight = 10
|
||||
pattern = "2006"
|
||||
[[related.indices]]
|
||||
name = "tags"
|
||||
weight = 100
|
||||
[[related.indices]]
|
||||
name = "date"
|
||||
weight = 10
|
||||
pattern = "2006"
|
||||
|
||||
[social]
|
||||
twitter = "GoHugoIO"
|
||||
twitter = "GoHugoIO"
|
||||
|
||||
[caches]
|
||||
[caches.images]
|
||||
dir = ":cacheDir"
|
||||
# 30 days.
|
||||
maxAge = "720h"
|
||||
[caches.images]
|
||||
dir = ":cacheDir"
|
||||
# 30 days.
|
||||
maxAge = "720h"
|
||||
|
||||
[imaging]
|
||||
resampleFilter = "CatmullRom"
|
||||
resampleFilter = "CatmullRom"
|
||||
|
||||
# Defatult JPEG quality setting. Default is 75.
|
||||
quality = 75
|
||||
# Defatult JPEG quality setting. Default is 75.
|
||||
quality = 75
|
||||
|
||||
anchor = "smart"
|
||||
anchor = "smart"
|
||||
|
||||
[params]
|
||||
github_repo = "https://github.com/spf13/hugothemes"
|
||||
gitter = "https://gitter.im/spf13/hugo"
|
||||
forum = "https://discourse.gohugo.io/"
|
||||
#This array is meant for disabling the Homepage button of a theme.
|
||||
noHomePage = ["hugo-theme-novela"]
|
||||
|
||||
github_repo = "https://github.com/spf13/hugothemes"
|
||||
gitter = "https://gitter.im/spf13/hugo"
|
||||
forum = "https://discourse.gohugo.io/"
|
||||
#This array is meant for disabling the Homepage button of a theme.
|
||||
noHomePage = ["hugo-theme-novela"]
|
||||
|
||||
# GLOBAL = IF ANYTHING CHANGES BELOW UPDATE MAIN, DOCS, THEMES
|
||||
|
||||
[[menu.global]]
|
||||
name = "News"
|
||||
weight = 1
|
||||
identifier = "news"
|
||||
url = "https://gohugo.io/news/"
|
||||
[[menu.global]]
|
||||
name = "News"
|
||||
weight = 1
|
||||
identifier = "news"
|
||||
url = "https://gohugo.io/news/"
|
||||
|
||||
[[menu.global]]
|
||||
name = "Docs"
|
||||
weight = 10
|
||||
identifier = "docs"
|
||||
url = "https://gohugo.io/documentation/"
|
||||
[[menu.global]]
|
||||
name = "Docs"
|
||||
weight = 10
|
||||
identifier = "docs"
|
||||
url = "https://gohugo.io/documentation/"
|
||||
|
||||
[[menu.global]]
|
||||
name = "Themes"
|
||||
weight = 15
|
||||
identifier = "themes"
|
||||
url = "https://themes.gohugo.io/"
|
||||
|
||||
[[menu.global]]
|
||||
name = "Themes"
|
||||
weight = 15
|
||||
identifier = "themes"
|
||||
url = "https://themes.gohugo.io/"
|
||||
[[menu.global]]
|
||||
name = "Showcase"
|
||||
weight = 20
|
||||
identifier = "showcase"
|
||||
url = "https://gohugo.io/showcase/"
|
||||
|
||||
[[menu.global]]
|
||||
name = "Showcase"
|
||||
weight = 20
|
||||
identifier = "showcase"
|
||||
url = "https://gohugo.io/showcase/"
|
||||
[[menu.global]]
|
||||
name = "Community"
|
||||
weight = 100
|
||||
post = "external"
|
||||
identifier = "community"
|
||||
url = "https://discourse.gohugo.io/"
|
||||
|
||||
[[menu.global]]
|
||||
name = "Community"
|
||||
weight = 100
|
||||
post = "external"
|
||||
identifier = "community"
|
||||
url = "https://discourse.gohugo.io/"
|
||||
|
||||
|
||||
[[menu.global]]
|
||||
name = "GitHub"
|
||||
weight = 200
|
||||
identifier = "github"
|
||||
post = "external"
|
||||
url = "https://github.com/gohugoio/hugo"
|
||||
[[menu.global]]
|
||||
name = "GitHub"
|
||||
weight = 200
|
||||
identifier = "github"
|
||||
post = "external"
|
||||
url = "https://github.com/gohugoio/hugo"
|
||||
Reference in new issue
Block a user