mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 05:00:22 +01:00
Compare commits
1 Commits
5fd2964427
...
1fa259f97a
Author | SHA1 | Date | |
---|---|---|---|
1fa259f97a |
@ -31,7 +31,7 @@
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
{{ if .Site.Config.Services.GoogleAnalytics.ID }}
|
||||
{{ if .Site.GoogleAnalytics }}
|
||||
{{ partial "cookie-consent.html" . }}
|
||||
{{ end }}
|
||||
|
||||
|
@ -83,7 +83,7 @@
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
{{ if or (ne ($.Param "sharingicons") false) (.Site.Config.Services.Disqus.Shortname) }}
|
||||
{{ if or (ne ($.Param "sharingicons") false) (.Site.DisqusShortname) }}
|
||||
<hr>
|
||||
<footer>
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
{{ partial "sharing-icons.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and (.Site.Config.Services.Disqus.Shortname) (ne .Params.comments false) }}
|
||||
{{ if and (.Site.DisqusShortname) (ne .Params.comments false) }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
|
@ -28,7 +28,7 @@ Haven.create({
|
||||
{
|
||||
name: 'google-analytics',
|
||||
options: {
|
||||
id: {{ .Site.Config.Services.GoogleAnalytics.ID }},
|
||||
id: {{ .Site.GoogleAnalytics }},
|
||||
},
|
||||
purposes: ['analytics'],
|
||||
inject: true,
|
||||
|
Loading…
Reference in New Issue
Block a user