forked from gohugoio/hugoDocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.toml
105 lines (92 loc) · 2.97 KB
/
hugo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# This his the main configuration file. There are also environment specific configuration stored in the /config directory.
baseURL = "https://gohugo.io/"
defaultContentLanguage = "en"
enableEmoji = true
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
languageCode = "en-us"
paginate = 100
pluralizeListTitles = false
timeZone = "Europe/Oslo"
title = "Hugo"
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
disableAliases = true
[services.googleAnalytics]
ID = 'G-MBZGKNMDWC'
[minify]
[minify.tdewolff]
[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
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = -1
[caches.getcsv]
dir = ":cacheDir/:project"
maxAge = -1
[caches.images]
dir = ":cacheDir/images"
maxAge = "1440h"
[caches.assets]
dir = ":resourceDir/_gen"
maxAge = -1
[caches.getresource]
dir = ":cacheDir/:project"
maxage = '1h'
[related]
threshold = 80
includeNewer = true
toLower = false
[[related.indices]]
toLower = true
name = "relatedFunctions"
weight = 60
[[related.indices]]
name = "keywords"
weight = 60
[[related.indices]]
# Can be used as a front matter slice to link to other page fragments (headings) using their ID.
# This isn't particular useful in the current docs, but we're planning on getting a auto generated
# reference section with a better ID setup.
# For now, we just use it to give pages with same headings some similarity score.
name = "fragmentrefs"
type = "fragments"
applyFilter = false
weight = 60
cardinalityThreshold = 50
# TODO delete when (a) Netlify is building the site with v0.120.0 or later,
# and (b) the changes fom gohugoioTheme/commit/af97b8e61638ddf043b87590cd567d76045bf9be
# have been pulled into this repo.
[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"
[taxonomies]
category = "categories"