config.toml (1864B)
1 baseURL = "https://gohugo.io/" 2 paginate = 100 3 defaultContentLanguage = "en" 4 enableEmoji = true 5 # Set the unicode character used for the "return" link in page footnotes. 6 footnotereturnlinkcontents = "↩" 7 languageCode = "en-us" 8 title = "Hugo" 9 10 googleAnalytics = "UA-7131036-4" 11 12 pluralizeListTitles = false 13 14 # We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below). 15 disableAliases = true 16 17 [outputs] 18 home = [ "HTML", "RSS", "REDIR", "HEADERS" ] 19 section = [ "HTML", "RSS"] 20 21 [mediaTypes] 22 [mediaTypes."text/netlify"] 23 delimiter = "" 24 25 [outputFormats] 26 [outputFormats.REDIR] 27 mediatype = "text/netlify" 28 baseName = "_redirects" 29 isPlainText = true 30 notAlternative = true 31 [outputFormats.HEADERS] 32 mediatype = "text/netlify" 33 baseName = "_headers" 34 isPlainText = true 35 notAlternative = true 36 37 [caches] 38 [caches.getjson] 39 dir = ":cacheDir/:project" 40 maxAge = -1 41 [caches.getcsv] 42 dir = ":cacheDir/:project" 43 maxAge = -1 44 [caches.images] 45 dir = ":cacheDir/images" 46 maxAge = "1440h" 47 [caches.assets] 48 dir = ":resourceDir/_gen" 49 maxAge = -1 50 51 52 [related] 53 54 threshold = 80 55 includeNewer = true 56 toLower = false 57 58 [[related.indices]] 59 name = "keywords" 60 weight = 100 61 [[related.indices]] 62 name = "date" 63 weight = 10 64 pattern = "2006" 65 66 [social] 67 twitter = "GoHugoIO" 68 69 70 # MARKDOWN 71 ## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday 72 [blackfriday] 73 plainIDAnchors = true 74 # See https://github.com/gohugoio/hugo/issues/2424 75 hrefTargetBlank = false 76 angledQuotes = false 77 latexDashes = true 78 79 [imaging] 80 # See https://github.com/disintegration/imaging 81 # CatmullRom is a sharp bicubic filter which should fit the docs site well with its many screenshots. 82 # Note that you can also set this per image processing. 83 resampleFilter = "CatmullRom" 84 85 # Default JPEG quality setting. Default is 75. 86 quality = 75 87 88 anchor = "smart" 89 90 [taxonomies] 91 category = "categories"