From 0991f61d49bcbe25559721c44b566915e2dcd4fa Mon Sep 17 00:00:00 2001 From: fsj2009yx <148683018+fsj2009yx@users.noreply.github.com> Date: Sun, 22 Dec 2024 19:44:13 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix(comment/waline):=20cannot=20read=20prop?= =?UTF-8?q?erty=20=E2=80=98insertBefore=E2=80=99=20of=20null=20(#1103)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: resolve issue with comments not displaying due to KaTeX and Waline render order * Fix the problem that comment data couldn't be pulled successfully and raise Error "Cannot read property ‘insertBefore’ of null"" --- layouts/partials/article/components/math.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/article/components/math.html b/layouts/partials/article/components/math.html index bd1a7f8..b41e4c9 100644 --- a/layouts/partials/article/components/math.html +++ b/layouts/partials/article/components/math.html @@ -1,7 +1,8 @@ {{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}} \ No newline at end of file + From 087989e4274f24a472d16d7c35d394a227fed47a Mon Sep 17 00:00:00 2001 From: Hamza <74574779+hamzakat@users.noreply.github.com> Date: Sun, 22 Dec 2024 16:53:10 +0300 Subject: [PATCH 2/4] chore(i18n): fix a tiny typo in the footer (#1099) --- i18n/ar.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ar.yaml b/i18n/ar.yaml index 63101aa..45fd749 100644 --- a/i18n/ar.yaml +++ b/i18n/ar.yaml @@ -68,7 +68,7 @@ search: footer: builtWith: - other: "مبني بستخدام {{ .Generator }}" + other: "مبني باستخدام {{ .Generator }}" designedBy: other: "قالب {{ .Theme }} مصمم من {{ .DesignedBy }}" From f1ab6c6abaac5bbd63368832650608c86afcd956 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Thu, 23 Jan 2025 22:54:37 +0100 Subject: [PATCH 3/4] fix(giscus): no longer use `$.Language.LanguageCode` for the language of Giscus (#1118) fix(giscus): rollback https://github.com/CaiJimmy/hugo-theme-stack/pull/1075 User can still customize the language used for Giscus using `.Site.Params.comments.giscus.lang` parameter. --- layouts/partials/comments/provider/giscus.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/comments/provider/giscus.html b/layouts/partials/comments/provider/giscus.html index 97fbb77..fa355b7 100644 --- a/layouts/partials/comments/provider/giscus.html +++ b/layouts/partials/comments/provider/giscus.html @@ -11,7 +11,7 @@ data-emit-metadata="{{- default 0 .emitMetadata -}}" data-input-position="{{- default `top` .inputPosition -}}" data-theme="{{- default `light` .lightTheme -}}" - data-lang="{{- default (default `en` $.Language.LanguageCode) .lang -}}" + data-lang="{{- default `en` .lang -}}" data-loading="{{- .loading -}}" crossorigin="anonymous" async From 9e6b7b22a9d47478a72287bcdc29e885dcd8f359 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Thu, 23 Jan 2025 22:55:27 +0100 Subject: [PATCH 4/4] release: 3.30.0 --- layouts/partials/footer/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index 9c28779..179357b 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -1,4 +1,4 @@ -{{- $ThemeVersion := "3.29.0" -}} +{{- $ThemeVersion := "3.30.0" -}}