From 21939acfb36b7fdda7245ccf7558f135b8c92566 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 30 Dec 2022 23:29:21 -0800 Subject: [PATCH] Combine all noscript phrases into one --- i18n/en.yaml | 6 ------ layouts/partials/paige/comments.html | 20 ++++++++++---------- layouts/partials/paige/script.html | 20 ++++++++++---------- 3 files changed, 20 insertions(+), 26 deletions(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index 5247c4ae..9cae3f8e 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,12 +1,6 @@ paige_noscript: other: JavaScript is required. -paige_noscript_analytics: - other: JavaScript is required for analytics. - -paige_noscript_comments: - other: JavaScript is required for comments. - paige_search_button: other: Search diff --git a/layouts/partials/paige/comments.html b/layouts/partials/paige/comments.html index 8f88de4f..d14dc57f 100644 --- a/layouts/partials/paige/comments.html +++ b/layouts/partials/paige/comments.html @@ -13,14 +13,14 @@ commentSectionId: {{ .RelPermalink }} }) - + {{ end }} {{ with .Site.Params.paige.comments.commento }}
- +
{{ end }} {{ if .Site.Params.paige.comments.graphcomment }} @@ -42,7 +42,7 @@ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(gc); })(); - + {{ end }} {{ if .Site.Params.paige.comments.hyvor }} @@ -56,7 +56,7 @@ }; - + {{ end }} {{ if .Site.Params.paige.comments.intensedebate }} @@ -68,14 +68,14 @@ - + {{ end }} {{ with .Site.Params.paige.comments.isso }}
- +
{{ end }} @@ -83,7 +83,7 @@
Comments - +
{{ end }} {{ if .Site.Params.paige.comments.remark42 }} @@ -96,7 +96,7 @@ } - + {{ end }} {{ if .Site.Params.paige.comments.replybox }} @@ -109,12 +109,12 @@ }; - + {{ end }} {{ with .Site.Params.paige.comments.utterances }}
- +
{{ end }} diff --git a/layouts/partials/paige/script.html b/layouts/partials/paige/script.html index 0b8ace05..a7ba863e 100644 --- a/layouts/partials/paige/script.html +++ b/layouts/partials/paige/script.html @@ -53,7 +53,7 @@ addEventListener("resize", paigeResize); loadChartbeat(); })(); - + {{ end }} {{ with .Site.Params.paige.analytics.clicky }} - + {{ end }} {{ with .Site.Params.paige.analytics.fathom }} - + {{ end }} {{ with .Site.Params.paige.analytics.finteza }} - + {{ end }} {{ with .Site.Params.paige.analytics.hotjar }} - + {{ end }} {{ with .Site.Params.paige.analytics.matomo }} - + {{ end }} {{ with .Site.Params.paige.analytics.mixpanel }} - + {{ end }} {{ with .Site.Params.paige.analytics.plausible }} - + {{ end }} {{ with .Site.Params.paige.analytics.woopra }} - + {{ end }} {{ with .Site.Params.paige.analytics.yandex }} - + {{ end }}