mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Disable Google Analytics when hugo server
This commit is contained in:
parent
aa5f461c56
commit
6f8908b192
|
@ -4,7 +4,9 @@
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ if not .Site.IsServer }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
{{ end }}
|
||||||
{{- with .Site.Params.Social -}}
|
{{- with .Site.Params.Social -}}
|
||||||
<script>feather.replace()</script>
|
<script>feather.replace()</script>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user