This commit is contained in:
Bjørn Erik Pedersen 2022-04-08 13:32:01 +02:00
commit 5b5dcb8d5a
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
20 changed files with 202 additions and 121 deletions

View file

@ -46,7 +46,7 @@ In addition to using a single site config file, one can use the `configDir` dire
- Each file represents a configuration root object, such as `params.toml` for `[Params]`, `menu(s).toml` for `[Menu]`, `languages.toml` for `[Languages]` etc...
- Each file's content must be top-level, for example:
{{< code-toggle file="config" >}}
[Params]
foo = "bar"
@ -220,7 +220,7 @@ Disable automatic live reloading of browser window.
: Do not convert the url/path to lowercase.
### enableEmoji
### enableEmoji
**Default value:** false
@ -254,18 +254,6 @@ Enable generation of `robots.txt` file.
See [Front matter Configuration](#configure-front-matter).
### footnoteAnchorPrefix
**Default value:** ""
Prefix for footnote anchors.
### footnoteReturnLinkContents
**Default value:** ""
Text to display for footnote return links.
### googleAnalytics
**Default value:** ""
@ -279,6 +267,7 @@ Google Analytics tracking ID.
If true, auto-detect Chinese/Japanese/Korean Languages in the content. This will make `.Summary` and `.WordCount` behave correctly for CJK languages.
### imaging
See [Image Processing Config](/content-management/image-processing/#image-processing-config).
### languageCode
@ -288,6 +277,7 @@ See [Image Processing Config](/content-management/image-processing/#image-proces
A language tag as defined by [RFC 5646](https://datatracker.ietf.org/doc/html/rfc5646). The internal [RSS template](https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml) populates its `<language>` element with this value. The value is not used elsewhere.
### languages
See [Configure Languages](/content-management/multilingual/#configure-languages).
### disableLanguages
@ -330,7 +320,7 @@ Don't sync modification time of files.
### outputFormats
See [Configure Output Formats](#configure-additional-output-formats).
### paginate
### paginate
**Default value:** 10
@ -568,7 +558,6 @@ The following is a typical example of a configuration file. The values nested un
{{< code-toggle file="config">}}
baseURL: "https://yoursite.example.com/"
title: "My Hugo Site"
footnoteReturnLinkContents: "↩"
permalinks:
posts: /:year/:month/:title/
params: