From 8cba70e28c09e070f69dda1c56d6f4dcd883d99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 28 Feb 2019 14:30:18 +0100 Subject: [PATCH] Document disableAliases Closes https://github.com/gohugoio/hugo/issues/5722 --- content/en/getting-started/configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index b37fa48e7..176e96666 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -114,6 +114,9 @@ defaultContentLanguage ("en") defaultContentLanguageInSubdir (false) : 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) : 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.