Disable Google Analytics when hugo server
This commit is contained in:
parent
aa5f461c56
commit
6f8908b192
|
@ -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