diff --git a/public/font/Snell-Black.woff2 b/public/font/Snell-Black.woff2 index 9201da7..9f8616e 100644 Binary files a/public/font/Snell-Black.woff2 and b/public/font/Snell-Black.woff2 differ diff --git a/src/components/MobileHeader.astro b/src/components/MobileHeader.astro index 81ba80f..42af28e 100644 --- a/src/components/MobileHeader.astro +++ b/src/components/MobileHeader.astro @@ -19,7 +19,7 @@ const marginBottom = { ---
-

+

0) +// Check if only the supported language switch list is used +const useSupportedLangs = isPost || (isTag && supportedLangs.length > 0) -// 根据页面类型选择合适的语言切换方式 -const nextUrl = useFilteredLangs - ? getPostNextLangUrl(currentPath, supportedLangs) // 只在有内容的语言间切换 - : getNextLangUrl(currentPath) // 在所有语言间切换 +// Choose a language switch list according to the page type +const nextUrl = useSupportedLangs + ? getNextSupportedLangUrl(currentPath, supportedLangs) // Switch between supported languages + : getNextLangUrl(currentPath) // Switch between all languages ---
@@ -75,7 +75,7 @@ const footerMarginClass = isPost && themeConfig.comment?.waline?.serverURL -
+