mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 12:24:39 -04:00
Consolidate site configuration
Merged settings from config.toml in project root into config/_default/config.toml. Closes #1596
This commit is contained in:
parent
dfd4dd8739
commit
672042f898
80
config.toml
80
config.toml
@ -1,80 +0,0 @@
|
|||||||
baseURL = "https://gohugo.io/"
|
|
||||||
paginate = 100
|
|
||||||
defaultContentLanguage = "en"
|
|
||||||
enableEmoji = true
|
|
||||||
timeZone = "Europe/Oslo"
|
|
||||||
# Set the unicode character used for the "return" link in page footnotes.
|
|
||||||
footnotereturnlinkcontents = "↩"
|
|
||||||
languageCode = "en-us"
|
|
||||||
title = "Hugo"
|
|
||||||
|
|
||||||
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
|
||||||
|
|
||||||
|
|
||||||
googleAnalytics = "UA-7131036-4"
|
|
||||||
|
|
||||||
pluralizeListTitles = false
|
|
||||||
|
|
||||||
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
|
|
||||||
disableAliases = true
|
|
||||||
|
|
||||||
[minify]
|
|
||||||
[minify.tdewolff]
|
|
||||||
[minify.tdewolff.css]
|
|
||||||
[minify.tdewolff.html]
|
|
||||||
keepWhitespace = true
|
|
||||||
|
|
||||||
[module]
|
|
||||||
[module.hugoVersion]
|
|
||||||
min = "0.56.0"
|
|
||||||
[[module.imports]]
|
|
||||||
path = "github.com/gohugoio/gohugoioTheme"
|
|
||||||
|
|
||||||
[outputs]
|
|
||||||
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
|
|
||||||
section = [ "HTML", "RSS"]
|
|
||||||
|
|
||||||
[mediaTypes]
|
|
||||||
[mediaTypes."text/netlify"]
|
|
||||||
delimiter = ""
|
|
||||||
|
|
||||||
[outputFormats]
|
|
||||||
[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
|
|
||||||
|
|
||||||
[[related.indices]]
|
|
||||||
name = "keywords"
|
|
||||||
weight = 100
|
|
||||||
[[related.indices]]
|
|
||||||
name = "date"
|
|
||||||
weight = 10
|
|
||||||
pattern = "2006"
|
|
||||||
|
|
||||||
[social]
|
|
||||||
twitter = "GoHugoIO"
|
|
||||||
|
|
||||||
|
|
||||||
[imaging]
|
|
||||||
# See https://github.com/disintegration/imaging
|
|
||||||
# CatmullRom is a sharp bicubic filter which should fit the docs site well with its many screenshots.
|
|
||||||
# Note that you can also set this per image processing.
|
|
||||||
resampleFilter = "CatmullRom"
|
|
||||||
|
|
||||||
# Default JPEG quality setting. Default is 75.
|
|
||||||
quality = 75
|
|
||||||
|
|
||||||
anchor = "smart"
|
|
@ -1,19 +1,28 @@
|
|||||||
baseURL = "https://gohugo.io/"
|
baseURL = "https://gohugo.io/"
|
||||||
paginate = 100
|
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
# Set the unicode character used for the "return" link in page footnotes.
|
|
||||||
footnotereturnlinkcontents = "↩"
|
|
||||||
languageCode = "en-us"
|
|
||||||
title = "Hugo"
|
|
||||||
|
|
||||||
googleAnalytics = "UA-7131036-4"
|
googleAnalytics = "UA-7131036-4"
|
||||||
|
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
||||||
|
languageCode = "en-us"
|
||||||
|
paginate = 100
|
||||||
pluralizeListTitles = false
|
pluralizeListTitles = false
|
||||||
|
timeZone = "Europe/Oslo"
|
||||||
|
title = "Hugo"
|
||||||
|
|
||||||
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
|
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
|
||||||
disableAliases = true
|
disableAliases = true
|
||||||
|
|
||||||
|
[minify]
|
||||||
|
[minify.tdewolff]
|
||||||
|
[minify.tdewolff.html]
|
||||||
|
keepWhitespace = true
|
||||||
|
|
||||||
|
[module]
|
||||||
|
[module.hugoVersion]
|
||||||
|
min = "0.56.0"
|
||||||
|
[[module.imports]]
|
||||||
|
path = "github.com/gohugoio/gohugoioTheme"
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
|
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
|
||||||
section = [ "HTML", "RSS"]
|
section = [ "HTML", "RSS"]
|
||||||
@ -48,13 +57,10 @@ maxAge = "1440h"
|
|||||||
dir = ":resourceDir/_gen"
|
dir = ":resourceDir/_gen"
|
||||||
maxAge = -1
|
maxAge = -1
|
||||||
|
|
||||||
|
|
||||||
[related]
|
[related]
|
||||||
|
|
||||||
threshold = 80
|
threshold = 80
|
||||||
includeNewer = true
|
includeNewer = true
|
||||||
toLower = false
|
toLower = false
|
||||||
|
|
||||||
[[related.indices]]
|
[[related.indices]]
|
||||||
name = "keywords"
|
name = "keywords"
|
||||||
weight = 100
|
weight = 100
|
||||||
@ -66,25 +72,13 @@ pattern = "2006"
|
|||||||
[social]
|
[social]
|
||||||
twitter = "GoHugoIO"
|
twitter = "GoHugoIO"
|
||||||
|
|
||||||
|
|
||||||
# MARKDOWN
|
|
||||||
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
|
|
||||||
[blackfriday]
|
|
||||||
plainIDAnchors = true
|
|
||||||
# See https://github.com/gohugoio/hugo/issues/2424
|
|
||||||
hrefTargetBlank = false
|
|
||||||
angledQuotes = false
|
|
||||||
latexDashes = true
|
|
||||||
|
|
||||||
[imaging]
|
[imaging]
|
||||||
# See https://github.com/disintegration/imaging
|
# See https://github.com/disintegration/imaging
|
||||||
# CatmullRom is a sharp bicubic filter which should fit the docs site well with its many screenshots.
|
# CatmullRom is a sharp bicubic filter which should fit the docs site well with its many screenshots.
|
||||||
# Note that you can also set this per image processing.
|
# Note that you can also set this per image processing.
|
||||||
resampleFilter = "CatmullRom"
|
resampleFilter = "CatmullRom"
|
||||||
|
|
||||||
# Default JPEG quality setting. Default is 75.
|
# Default JPEG quality setting. Default is 75.
|
||||||
quality = 75
|
quality = 75
|
||||||
|
|
||||||
anchor = "smart"
|
anchor = "smart"
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user