-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Hello,
First off, I want to express my appreciation for the Astrowind theme; it's fantastic, and your hard work is truly valued.
I'm currently applying Astrowind to a project in Chinese and have encountered some issues that I hope to get your guidance on:
-
When the
categoryandtagsin the frontmatter of MDX files located insrc/content/post/are in Chinese, the URLs for categories and tags are generated with syllable-based pinyin. For instance, the tag “数字技术” results in a URL likehttps://astrowind2.vercel.app/category/shu4-zi4-ji4-shu4. How can I modify the code so that the URL appears ashttps://astrowind2.vercel.app/category/shu-zi-ji-shuwithout the tone marks? -
On the blog post detail pages, such as
https://astrowind2.vercel.app/20240324-dong1-zhi4, the URL includes syllable tone marks. How can I remove these tone marks from the URLs? -
Similarly, on the blog post detail pages (e.g.,
https://astrowind2.vercel.app/20240324-dong1-zhi), both categories and tags are displayed in pinyin with tone marks. Is there a way to display them in Chinese, as per the frontmatter's categories and tags?
Your advice on these matters would be greatly appreciated. You can view the code at https://github.com/zipziz/astrowind/.
Thank you for your time and assistance.