mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -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>
|
||||
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{{end}}
|
||||
{{- end -}}`},
|
||||
{`google_analytics.html`, `{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{`google_analytics.html`, `{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{{- if not $pc.Disable -}}
|
||||
{{ with .Site.GoogleAnalytics }}
|
||||
<script>
|
||||
|
@ -113,7 +113,7 @@ ga('send', 'pageview');
|
|||
</script>
|
||||
{{ end }}
|
||||
{{- end -}}`},
|
||||
{`google_analytics_async.html`, `{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{`google_analytics_async.html`, `{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{{- if not $pc.Disable -}}
|
||||
{{ with .Site.GoogleAnalytics }}
|
||||
<script>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{{- if not $pc.Disable -}}
|
||||
{{ with .Site.GoogleAnalytics }}
|
||||
<script>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- $pc := .Page.Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{{- $pc := .Site.PrivacyConfig.GoogleAnalytics -}}
|
||||
{{- if not $pc.Disable -}}
|
||||
{{ with .Site.GoogleAnalytics }}
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue