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
category
andtags
in 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-shu
without 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.