mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 22:40:03 -05:00
parent
6789207347
commit
f45b522ebf
3 changed files with 4 additions and 4 deletions
|
@ -99,7 +99,7 @@ var EmbeddedTemplates = [][2]string{
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{{end}}
|
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{{end}}
|
||||||
{{- end -}}`},
|
{{- end -}}`},
|
||||||
{`google_analytics.html`, `{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
{`google_analytics.html`, `{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||||
{{- if not $pc.Disable -}}
|
{{- if not $pc.Disable -}}
|
||||||
{{ with .Site.GoogleAnalytics }}
|
{{ with .Site.GoogleAnalytics }}
|
||||||
<script>
|
<script>
|
||||||
|
@ -113,7 +113,7 @@ ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}`},
|
{{- end -}}`},
|
||||||
{`google_analytics_async.html`, `{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
{`google_analytics_async.html`, `{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||||
{{- if not $pc.Disable -}}
|
{{- if not $pc.Disable -}}
|
||||||
{{ with .Site.GoogleAnalytics }}
|
{{ with .Site.GoogleAnalytics }}
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||||
{{- if not $pc.Disable -}}
|
{{- if not $pc.Disable -}}
|
||||||
{{ with .Site.GoogleAnalytics }}
|
{{ with .Site.GoogleAnalytics }}
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||||
{{- if not $pc.Disable -}}
|
{{- if not $pc.Disable -}}
|
||||||
{{ with .Site.GoogleAnalytics }}
|
{{ with .Site.GoogleAnalytics }}
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue