Commit Graph

5 Commits

Author SHA1 Message Date
javayhu
cd73bf8282 feat: add locale extraction helper and new blog documentation
- Introduced `extractLocaleAndBase` function to streamline locale and base name extraction from filenames.
- Added new blog documentation files covering comparisons, internationalization, manual installation, and markdown usage in both English and Chinese.
- Removed outdated author and blog content files to enhance content organization and clarity.
- Updated `content-collections.ts` to utilize the new locale extraction function for improved file handling.
2025-04-01 01:43:51 +08:00
javayhu
fe1159a8f5 refactor: change blog content file structure to docs content file structure
- Introduced `cleanup-old-content.js` for backing up and cleaning up old content directories.
- Added `migrate-content.js` to facilitate the migration of content types across locales.
- Created new author and blog content files in both English and Chinese, enhancing the content structure.
- Updated `content-collections.ts` to reflect new slug formats for authors.
- Added new category files for better content organization.
- Included privacy, cookie, and terms of service pages in both languages.
- Implemented initial release notes for versioning.
2025-03-31 23:50:27 +08:00
javayhu
43d9c798b5 refactor: enhance content collections with multilingual support
- Update content collections to support locale-based content filtering
- Modify blog post, author, and category schemas to include optional locale
- Implement dynamic locale detection from file path or fallback to default locale
- Update blog components to filter posts by current locale
- Remove sample blog posts and categories from default content
2025-03-05 02:03:53 +08:00
javayhu
24eb819a85 refactor: update routes, marketing links, and footer configuration 2025-03-01 16:42:50 +08:00
javayhu
f3c844b426 feat: support blog module (v1) 2025-02-20 00:33:50 +08:00