Update baseof.html
Don't publish analytics events during development Solution from https://discourse.gohugo.io/t/how-to-exclude-google-analytics-when-running-under-hugo-local-server/6092/34
This commit is contained in:
parent
32d39a31c7
commit
2736df1a57
|
@ -74,6 +74,8 @@
|
|||
<script src="{{ . | relURL }}"></script>
|
||||
{{- end}}
|
||||
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue