diff options
Diffstat (limited to 'layouts/robots.txt')
| -rw-r--r-- | layouts/robots.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/robots.txt b/layouts/robots.txt index dbc405e..c59438e 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,9 +1,9 @@ -# TODO: Does not work {{- $url := urls.Parse ("/" | absURL) -}} # robots.txt file for "{{ site.Title }}" website, {{ $url.Host }} User-agent: * {{- if eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }} Allow: / + # TODO: implement sitemap.xml # Sitemap: {{ "stemap.xml" | absURL }} {{- else }} |
