Adding upstream version 5.2.3+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b80f12a01d
commit
bc475d7d0d
617 changed files with 89471 additions and 0 deletions
12
site/layouts/robots.txt
Normal file
12
site/layouts/robots.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
# www.robotstxt.org
|
||||
|
||||
{{- $isProduction := eq hugo.Environment "production" -}}
|
||||
{{- $isNetlify := eq (getenv "NETLIFY") "true" -}}
|
||||
{{- $allowCrawling := and (not $isNetlify) $isProduction -}}
|
||||
|
||||
{{ if $allowCrawling }}
|
||||
# Allow crawling of all content
|
||||
{{- end }}
|
||||
User-agent: *
|
||||
Disallow:{{ if not $allowCrawling }} /{{ end }}
|
||||
Sitemap: {{ "/sitemap.xml" | absURL }}
|
Loading…
Add table
Add a link
Reference in a new issue