From 5344a15889ee292cd0082bae63f847d7d9a27b84 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 14 May 2022 11:28:47 +0200 Subject: Add humans.txt support --- layouts/robots.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/robots.txt') 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 }} -- cgit v1.2.3