mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 16:44:42 -04:00
Document disableAliases
Closes https://github.com/gohugoio/hugo/issues/5722
This commit is contained in:
parent
00e4402605
commit
8cba70e28c
@ -114,6 +114,9 @@ defaultContentLanguage ("en")
|
|||||||
defaultContentLanguageInSubdir (false)
|
defaultContentLanguageInSubdir (false)
|
||||||
: Render the default content language in subdir, e.g. `content/en/`. The site root `/` will then redirect to `/en/`.
|
: Render the default content language in subdir, e.g. `content/en/`. The site root `/` will then redirect to `/en/`.
|
||||||
|
|
||||||
|
disableAliases (false)
|
||||||
|
: Will disable generation of alias redirects. Note that even if `disableAliases` is set, the aliases themselves are preserved on the page. The motivation with this is to be able to generate 301 redirects in an `.htacess`, a Netlify `_redirects` file or similar using a custom output format.
|
||||||
|
|
||||||
disableHugoGeneratorInject (false)
|
disableHugoGeneratorInject (false)
|
||||||
: Hugo will, by default, inject a generator meta tag in the HTML head on the _home page only_. You can turn it off, but we would really appreciate if you don't, as this is a good way to watch Hugo's popularity on the rise.
|
: Hugo will, by default, inject a generator meta tag in the HTML head on the _home page only_. You can turn it off, but we would really appreciate if you don't, as this is a good way to watch Hugo's popularity on the rise.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user