diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-14 11:28:47 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-14 11:28:47 +0200 |
| commit | 5344a15889ee292cd0082bae63f847d7d9a27b84 (patch) | |
| tree | 44aa8b0fb14f1e914610c26a1a37bd5d3f4b0b22 /layouts/robots.txt | |
| parent | 3858a4289a8a0e3f301975e3071fc2efb82334a0 (diff) | |
| download | gohugo-theme-ed-5344a15889ee292cd0082bae63f847d7d9a27b84.tar.gz | |
Add humans.txt support
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 }} |
