dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo-theme-ananke
mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix : production should Allow and point to Sitemap (#404)
zar3bski
09.40.2021
8845854aa9ab5af79066e840d8c884fbbb8a269d
[external-software/github_gohugo-theme-ananke.git]
/
layouts
/
robots.txt
1
2
3
4
5
6
7
8
User-agent: *
# robotstxt.org - if ENV production variable is false robots will be disallowed.
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
Allow: /
Sitemap: {{.Site.BaseURL}}/sitemap.xml
{{ else }}
Disallow: /
{{ end }}