mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
@@ -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>
|
||||||
|
Reference in New Issue
Block a user