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] =?UTF-8?q?fix(comment/waline):=20cannot=20read=20property?= =?UTF-8?q?=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 bd1a7f81a..b41e4c9ee 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 +