Format config

This commit is contained in:
Bjørn Erik Pedersen 2023-01-17 12:12:37 +01:00
parent 4cadf795ef
commit e83141f88d
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F

106
hugo.toml
View File

@ -1,3 +1,5 @@
# This his the main configuration file. There are also environment specific configuration stored in the /config directory.
baseURL = "https://gohugo.io/" baseURL = "https://gohugo.io/"
defaultContentLanguage = "en" defaultContentLanguage = "en"
enableEmoji = true enableEmoji = true
@ -13,73 +15,73 @@ title = "Hugo"
disableAliases = true disableAliases = true
[minify] [minify]
[minify.tdewolff] [minify.tdewolff]
[minify.tdewolff.html] [minify.tdewolff.html]
keepWhitespace = true keepWhitespace = true
[module] [module]
[module.hugoVersion] [module.hugoVersion]
min = "0.56.0" min = "0.56.0"
[[module.imports]] [[module.imports]]
path = "github.com/gohugoio/gohugoioTheme" path = "github.com/gohugoio/gohugoioTheme"
[outputs] [outputs]
home = [ "HTML", "RSS", "REDIR", "HEADERS" ] home = ["HTML", "RSS", "REDIR", "HEADERS"]
section = [ "HTML", "RSS"] section = ["HTML", "RSS"]
[mediaTypes] [mediaTypes]
[mediaTypes."text/netlify"] [mediaTypes."text/netlify"]
delimiter = "" delimiter = ""
[outputFormats] [outputFormats]
[outputFormats.REDIR] [outputFormats.REDIR]
mediatype = "text/netlify" mediatype = "text/netlify"
baseName = "_redirects" baseName = "_redirects"
isPlainText = true isPlainText = true
notAlternative = true notAlternative = true
[outputFormats.HEADERS] [outputFormats.HEADERS]
mediatype = "text/netlify" mediatype = "text/netlify"
baseName = "_headers" baseName = "_headers"
isPlainText = true isPlainText = true
notAlternative = true notAlternative = true
[caches] [caches]
[caches.getjson] [caches.getjson]
dir = ":cacheDir/:project" dir = ":cacheDir/:project"
maxAge = -1 maxAge = -1
[caches.getcsv] [caches.getcsv]
dir = ":cacheDir/:project" dir = ":cacheDir/:project"
maxAge = -1 maxAge = -1
[caches.images] [caches.images]
dir = ":cacheDir/images" dir = ":cacheDir/images"
maxAge = "1440h" maxAge = "1440h"
[caches.assets] [caches.assets]
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
[[related.indices]] [[related.indices]]
name = "date" name = "date"
weight = 10 weight = 10
pattern = "2006" pattern = "2006"
[social] [social]
twitter = "GoHugoIO" twitter = "GoHugoIO"
[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]
category = "categories" category = "categories"