layouts/robots.txt
@@ -2,7 +2,7 @@ {{/* robotstxt.org - if we are in production, allow access, else deny */ -}} {{ if hugo.IsProduction -}} Allow: / Sitemap: {{ "/sitemap.xml" | absURL }} Sitemap: {{ "/sitemap.xml" | urls.AbsURL }} {{ else -}} Disallow: / {{ end -}}