mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-19 22:56:26 -04:00
only add matomo script and proper robots.txt in production
This commit is contained in:
1 parent
25f9ec97eb
commit
5b5d961a63
3 files changed
+7
-5
No files matched your search
+4
-1
@@ -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 }}
|
||||
Reference in new issue
Block a user