From 9433e9b2dd9a9d7f75ead8adb6867d17f8bc19d1 Mon Sep 17 00:00:00 2001 From: Alan Almeida Date: Tue, 6 Jun 2023 18:51:40 +0530 Subject: [PATCH 1/2] fix scripts in header.html partial --- layouts/partials/footer.html | 73 ++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1dc93906..bd5b951c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -26,7 +26,7 @@

{{ .Site.Params.newsletter.title | markdownify }}

{{ .Site.Title }}
- {{ if or .Site.Params.mobile .Site.Params.location .Site.Params.email }} + {{ if or .Site.Params.mobile .Site.Params.location .Site.Params.email }}
Contact Me
@@ -59,8 +59,8 @@
Categories
{{- if not (eq (len .Site.Taxonomies.categories) 0) }} @@ -83,7 +83,7 @@
Quick Links
{{ "" | safeHTML }} @@ -99,41 +99,42 @@
Quick Links
{{ if site.Params.cookies.enable }} {{ end }} \ No newline at end of file From 15e3a9dced4b4ebd7d55ecb6d049c40f0990048a Mon Sep 17 00:00:00 2001 From: Alan Almeida Date: Tue, 6 Jun 2023 18:56:48 +0530 Subject: [PATCH 2/2] fix --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index bd5b951c..5e4e9348 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -110,7 +110,7 @@
Quick Links
cookieBox.classList.remove('cookie-box-hide'); cookieButton.onclick = function () { Cookies.set('cookie-box', true, { - expires: Number('{{ site.Params.cookies.expire_days }}') + expires: Number('{{ .Site.Params.cookies.expire_days }}') }); cookieBox.classList.add('cookie-box-hide'); };