From 437e20c197476e8c78f5b00ccc4832eae251a9b1 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 15 May 2024 02:23:41 +0800 Subject: [PATCH] Use const for guestbook variables --- _site/feed.xml | 2 +- _site/guestbook/index.html | 2 +- src/pages/guestbook.njk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_site/feed.xml b/_site/feed.xml index 43b15c09..d89cc758 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -4,7 +4,7 @@ Leilukin's personal website. - 2024-05-14T17:38:17Z + 2024-05-14T18:23:19Z https://leilukin.neocities.org Leilukin diff --git a/_site/guestbook/index.html b/_site/guestbook/index.html index d3bdd775..f9d7ff84 100644 --- a/_site/guestbook/index.html +++ b/_site/guestbook/index.html @@ -452,7 +452,7 @@ hcb_user = {}; } (function () { - var s = document.createElement("script"), + const s = document.createElement("script"), l = hcb_user.PAGE || ("" + window.location).replace(/'/g, "%27"), h = "https://www.htmlcommentbox.com"; s.setAttribute("type", "text/javascript"); diff --git a/src/pages/guestbook.njk b/src/pages/guestbook.njk index f194b227..183e37a2 100644 --- a/src/pages/guestbook.njk +++ b/src/pages/guestbook.njk @@ -87,7 +87,7 @@ eleventyNavigation: hcb_user = {}; } (function () { - var s = document.createElement("script"), + const s = document.createElement("script"), l = hcb_user.PAGE || ("" + window.location).replace(/'/g, "%27"), h = "https://www.htmlcommentbox.com"; s.setAttribute("type", "text/javascript");