From b76e6af972ce91448b5d7fa6db9201dd7979f471 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Tue, 10 Sep 2024 17:39:35 +0800 Subject: [PATCH] :bug: Fix: typo in typeit initialization Oops! O> { - const duration = Number(singleData.duration ?? vtypeitConfig.duration); + const duration = Number(singleData.duration ?? typeitConfig.duration); if (i === group.length - 1) { if (duration >= 0) { window.setTimeout(() => { diff --git a/assets/lib/VERSION b/assets/lib/VERSION index 71aad310..6e6aa8aa 100644 --- a/assets/lib/VERSION +++ b/assets/lib/VERSION @@ -24,7 +24,7 @@ sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js simple-icons@9.19.0 https://github.com/simple-icons/simple-icons twemoji@14.0.2 https://github.com/twitter/twemoji twikoo@1.6.22 https://github.com/imaegoo/twikoo -typeit@8.7.1 https://github.com/alexmacarthur/typeit +typeit@8.8.4 https://github.com/alexmacarthur/typeit valine@1.5.2 https://github.com/xCss/Valine waline@2.15.8 https://github.com/walinejs/waline xxhash-wasm@1.0.2 https://github.com/jungomi/xxhash-wasm diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index eea8024e..bb256bad 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -47,7 +47,7 @@ {{- if $profile.typeit -}} {{ . }} {{- $.Store.Set "hasTyped" true -}} - + {{- else -}} {{- . | safeHTML -}} {{- end -}} diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index e95872cf..69bcbd0d 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.12-dafc2665" -}} +{{- .Scratch.Set "version" "v0.3.12-617e2df2" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}