mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 20:01:33 +02:00
feat: add multilingual theme introduction posts
- Added localized Retypeset theme introduction posts for multiple languages - Included posts in English, Spanish, Russian, Japanese, Chinese (Simplified and Traditional) - Standardized post structure with consistent metadata and content - Updated content configuration to support multilingual post entries
This commit is contained in:
parent
e43036ae3a
commit
d72ec58837
24 changed files with 425 additions and 669 deletions
|
@ -55,7 +55,6 @@ function buildNewPath(currentLang, nextLang, segments, pathname) {
|
|||
if (currentLang) {
|
||||
segments[0] = nextLang || segments[0]
|
||||
|
||||
// Handle path with or without language code
|
||||
return nextLang
|
||||
? `/${segments.join('/')}`
|
||||
: `/${segments.slice(1).join('/')}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue