diff --git a/layouts/partials/paige/comments.html b/layouts/partials/paige/comments.html index b120d3a5..643028fc 100644 --- a/layouts/partials/paige/comments.html +++ b/layouts/partials/paige/comments.html @@ -1,5 +1,5 @@ {{ template "_internal/disqus.html" . }} -{{ if .Site.Params.paige.comments.cactus }} +{{ if site.Params.paige.comments.cactus }}
@@ -9,26 +9,26 @@ node: document.getElementById("comment-section"), defaultHomeserverUrl: "https://matrix.cactus.chat:8448", serverName: "cactus.chat", - siteName: {{ .Site.Params.paige.comments.cactus.account_id }}, + siteName: {{ site.Params.paige.comments.cactus.account_id }}, commentSectionId: {{ .RelPermalink }} })
{{ end }} -{{ with .Site.Params.paige.comments.commento }} +{{ with site.Params.paige.comments.commento }}
{{ end }} -{{ if .Site.Params.paige.comments.graphcomment }} +{{ if site.Params.paige.comments.graphcomment }}
@@ -71,7 +71,7 @@
{{ end }} -{{ with .Site.Params.paige.comments.isso }} +{{ with site.Params.paige.comments.isso }}
@@ -79,32 +79,32 @@
{{ end }} -{{ with .Site.Params.paige.comments.muut }} +{{ with site.Params.paige.comments.muut }}
Comments
{{ end }} -{{ if .Site.Params.paige.comments.remark42 }} +{{ if site.Params.paige.comments.remark42 }}
{{ end }} -{{ if .Site.Params.paige.comments.replybox }} +{{ if site.Params.paige.comments.replybox }}
@@ -112,7 +112,7 @@
{{ end }} -{{ with .Site.Params.paige.comments.utterances }} +{{ with site.Params.paige.comments.utterances }}
diff --git a/layouts/partials/paige/footer.html b/layouts/partials/paige/footer.html index 1faa1458..d1c5bf02 100644 --- a/layouts/partials/paige/footer.html +++ b/layouts/partials/paige/footer.html @@ -1,7 +1,7 @@ -{{ $copyright := .Site.Copyright }} +{{ $copyright := site.Copyright }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} -{{ $showlink := not .Site.Params.paige.hide_theme_link }} +{{ $showlink := not site.Params.paige.hide_theme_link }} {{ if or $copyright $first $last $showlink }}