chore: remove portuguese preview from the demo site (#23)

* refactor: separate rss and atom generation, optimize back button logic, remove redundant whitespace in component styles

* fix:  add missing <published> tag in atom feed
This commit is contained in:
radishzz 2025-05-10 06:44:59 +01:00 committed by GitHub
parent fc1cc050bc
commit 4d3ce1f73f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 14 additions and 1284 deletions

View file

@ -50,10 +50,10 @@ export const themeConfig: ThemeConfig = {
// GLOBAL SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
global: {
// default language
locale: 'zh', // zh, zh-tw, ja, en, es, ru
locale: 'zh', // zh, zh-tw, ja, en, es, ru, pt
// more languages
// not fill in the locale code above again, can be an empty array []
moreLocales: ['zh-tw', 'ja', 'en', 'es', 'ru', 'pt'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru', 'pt']
moreLocales: ['zh-tw', 'ja', 'en', 'es', 'ru'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru', 'pt']
// font styles for post text
fontStyle: 'sans', // sans, serif
// date format for posts