update: unified multilingual page styles

This commit is contained in:
radishzzz 2025-03-14 05:20:59 +00:00
parent 05d3a8034b
commit 91d27dd2ba
14 changed files with 118 additions and 85 deletions

View file

@ -1,7 +1,4 @@
import themeConfig from '@/config'
const defaultLocale = themeConfig.global.locale
const moreLocales = themeConfig.global.moreLocale
import { defaultLocale, moreLocales } from '@/i18n/config'
export function cleanPath(path: string) {
return path.replace(/^\/|\/$/g, '')