Toevoegen van ondersteuning voor robots.txt
This commit is contained in:
parent
e7a710d5d3
commit
762308322b
|
@ -1,11 +1,21 @@
|
||||||
# Basisconfiguratie voor de website
|
# Basisconfiguratie voor de website
|
||||||
|
|
||||||
baseURL = "https://www3.nluug.nl/"
|
baseURL = "https://www3.nluug.nl/"
|
||||||
|
|
||||||
|
# Talen
|
||||||
languageCode = "nl"
|
languageCode = "nl"
|
||||||
defaultContentLanguage = "nl"
|
defaultContentLanguage = "nl"
|
||||||
title = "NLUUG"
|
title = "NLUUG"
|
||||||
theme = "nluug"
|
theme = "nluug"
|
||||||
|
|
||||||
|
# Git-ondersteuning, zodat lastmod automatisch wordt ingevuld met data van git.
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
|
|
||||||
|
# Kleine optimalisatie door geen onnodige header toe te voegen
|
||||||
disableHugoGeneratorInject = true
|
disableHugoGeneratorInject = true
|
||||||
|
|
||||||
|
# Genereer /robots.txt (template in layouts)
|
||||||
|
enableRobotsTXT = true
|
||||||
|
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
2
themes/nluug/layouts/robots.txt
Normal file
2
themes/nluug/layouts/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
User-agent: *
|
||||||
|
Sitemap: {{ absURL site.Home.Sitemap.Filename }}
|
Reference in a new issue