1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 12:35:31 -04:00

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

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 }}