only add matomo script and proper robots.txt in production

This commit is contained in:
2019-09-30 19:19:23 -04:00
parent 25f9ec97eb
commit 5b5d961a63
3 changed files with 7 additions and 5 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
User-Agent: *
{{ if eq hugo.Environment "production" }}User-Agent: *
Disallow: /y2k/
Disallow: /comp20/
Sitemap: {{ "sitemap.xml" | absURL }}
{{ else }}User-Agent: *
Disallow: /
{{ end }}