fix: Warning:

Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
This commit is contained in:
Simon 2020-11-26 15:14:35 +01:00
parent 506e9abbff
commit 00a871af7e
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
User-agent: *
Disallow: {{ if ne .Hugo.Environment "production" }}/{{ end }}
Disallow: {{ if ne hugo.Environment "production" }}/{{ end }}