mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
107 lines
2.8 KiB
TOML
107 lines
2.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
|
|||
|
|
|||
|
[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"
|
|||
|
|
|||
|
#CUSTOM PARAMS
|
|||
|
[params]
|
|||
|
description = "The world’s fastest framework for building websites"
|
|||
|
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
|||
|
release = "0.55.0-DEV"
|
|||
|
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
|||
|
removefromexternalsearch = false
|
|||
|
## Gh repo for site footer (include trailing slash)
|
|||
|
ghrepo = "https://github.com/gohugoio/hugoDocs/"
|
|||
|
## GH Repo for filing a new issue
|
|||
|
github_repo = "https://github.com/gohugoio/hugo/issues/new"
|
|||
|
### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links)
|
|||
|
ghdocsrepo = "https://github.com/gohugoio/hugoDocs/tree/master/docs"
|
|||
|
## Gitter URL
|
|||
|
gitter = "https://gitter.im/spf13/hugo"
|
|||
|
## Discuss Forum URL
|
|||
|
forum = "https://discourse.gohugo.io/"
|
|||
|
## Google Tag Manager
|
|||
|
gtmid = ""
|
|||
|
|
|||
|
# First one is picked as the Twitter card image if not set on page.
|
|||
|
images = ["images/gohugoio-card.png"]
|
|||
|
|
|||
|
flex_box_interior_classes = "flex-auto w-100 w-40-l mr3 mb3 bg-white ba b--moon-gray nested-copy-line-height"
|
|||
|
|
|||
|
#sidebar_direction = "sidebar_left"
|
|||
|
|
|||
|
# 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"
|