Disable Google Analytics when hugo server
This commit is contained in:
parent
8961042aa1
commit
de58726d3b
@ -4,7 +4,9 @@
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
{{- with .Site.Params.Social -}}
|
||||
<script>feather.replace()</script>
|
||||
{{- end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user