mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
45e6fdb315
4eb10c1a9 Set a sensible maxAge on the image cache 2c37f4f89 Update lists.md 8690c018f Update introduction.md 0458c3d88 Update index.md 150982f5e Update index.md 50dc0b6b9 Update multilingual.md 648598090 Configure image cache to use :cacheDir/images 4dfb523c3 Update introduction.md b94d42e6f Add text to social images d3253d2aa Add resources/_gen/images/ to .gitignore 8a56e1dfd Delete resources/_gen/images 1521e79b6 Update introduction.md c7110a597 Update introduction.md f7c4d220f Update introduction.md c14ecf1ff Update introduction.md c4b388c20 Fix shortcode in hugo-pipes/introduction (#1605) d9876bd68 Update introduction.md a39a532d5 Update introduction.md fa8758122 netlify: Hugo 0.90.1 50cc40570 Update Contribute to Hugo Development fc98fc82c Add .vscode dir to .gitignore (#1602) 8f8bcdefc Add frontmatter param to code-toggle shortcode (#1601) f3b432c7c Add markdownlint configuration file (#1597) 7ea3aea92 netlify: Bump to 0.90.0 e2b6f990b docs: Regenerate docs helper c02259e33 Merge commit '8d9511a08f14260cbfb73119e4afae50e5a9966d' 2e3573899 Add custom font support to images.Text 3186e6458 images: Text filter that draws text with the given options (#9239) 424f219eb tpl/transform: Optional options for highlight func 7993f17d0 Implement XML data support 1eb9d34cf Make resources.Get use a file cache for remote resources 8a0fffd56 Add remote support to resources.Get git-subtree-dir: docs git-subtree-split: 4eb10c1a9689aebf652011a6260a14bf8a3dcef4
91 lines
1.8 KiB
TOML
91 lines
1.8 KiB
TOML
baseURL = "https://gohugo.io/"
|
|
paginate = 100
|
|
defaultContentLanguage = "en"
|
|
enableEmoji = true
|
|
# Set the unicode character used for the "return" link in page footnotes.
|
|
footnotereturnlinkcontents = "↩"
|
|
languageCode = "en-us"
|
|
title = "Hugo"
|
|
|
|
googleAnalytics = "UA-7131036-4"
|
|
|
|
pluralizeListTitles = false
|
|
|
|
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
|
|
disableAliases = true
|
|
|
|
[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
|
|
|
|
|
|
[related]
|
|
|
|
threshold = 80
|
|
includeNewer = true
|
|
toLower = false
|
|
|
|
[[related.indices]]
|
|
name = "keywords"
|
|
weight = 100
|
|
[[related.indices]]
|
|
name = "date"
|
|
weight = 10
|
|
pattern = "2006"
|
|
|
|
[social]
|
|
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]
|
|
# 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"
|