chore: optimize styles and update dependencies

- Fix random sorting issue in RSS articles
- Optimize RSS style file
- Improve scrollbar styles
- Upgrade project dependencies
This commit is contained in:
radishzzz 2025-04-07 03:23:34 +01:00
parent e757da729a
commit b492e5c262
10 changed files with 741 additions and 548 deletions

View file

@ -20,8 +20,8 @@ const showLanguageSwitcher = moreLocales.length > 0
const useSupportedLangs = isPost || (isTag && supportedLangs.length > 0)
// Choose a language switch list according to the page type
const nextUrl = useSupportedLangs
? getNextSupportedLangPath(currentPath, supportedLangs) // Switch between supported languages
: getNextGlobalLangPath(currentPath) // Switch between all languages
? getNextSupportedLangPath(currentPath, supportedLangs) // Switch between supported languages in post/tag page
: getNextGlobalLangPath(currentPath) // Switch between all languages in other pages
---
<div