forked from IT-Syndikat/website
use hugo template for robots.txt
This commit is contained in:
parent
7730be480e
commit
ec4ef9f533
2 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,7 @@ languageCode = 'de-AT'
|
||||||
title = 'IT-Syndikat'
|
title = 'IT-Syndikat'
|
||||||
theme = "mainroad"
|
theme = "mainroad"
|
||||||
pluralizelisttitles = false # removes the automatically appended "s" on sidebar entries
|
pluralizelisttitles = false # removes the automatically appended "s" on sidebar entries
|
||||||
enableRobotsTXT = false
|
enableRobotsTXT = true
|
||||||
|
|
||||||
defaultContentLanguage = 'de'
|
defaultContentLanguage = 'de'
|
||||||
defaultContentLanguageInSubdir = false
|
defaultContentLanguageInSubdir = false
|
||||||
|
|
|
@ -44,3 +44,9 @@ User-agent: VelenPublicWebCrawler
|
||||||
User-agent: Webzio-Extended
|
User-agent: Webzio-Extended
|
||||||
User-agent: YouBot
|
User-agent: YouBot
|
||||||
Disallow: /
|
Disallow: /
|
||||||
|
|
||||||
|
{{ range where .Data.Pages "Params.robotsdisallow" true }}
|
||||||
|
Disallow: {{ .RelPermalink }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
Sitemap: {{ "sitemap.xml" | absLangURL }}
|
Loading…
Add table
Reference in a new issue