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:
radishzzz 2025-01-26 08:16:48 +00:00
parent e43036ae3a
commit d72ec58837
24 changed files with 425 additions and 669 deletions

View file

@ -1,10 +1,8 @@
<script>
import { OverlayScrollbars } from 'overlayscrollbars'
// Store scrollbar instance for later use
let scrollbarsInstance: ReturnType<typeof OverlayScrollbars> | null = null
// Initialize custom scrollbar with theme support
function initScrollbar() {
const bodyElement = document.body
if (!bodyElement.hasAttribute('data-scrollbar-initialized')) {
@ -25,7 +23,7 @@ function initScrollbar() {
}
}
// Handle theme changes and update scrollbar appearance
// Automatically update scrollbar theme
document.addEventListener('theme-changed', () => {
scrollbarsInstance?.options({
scrollbars: {