Fix #397: Adjust URL for Chinese Categories and Tags
This commit is contained in:
@@ -40,8 +40,8 @@ const { Content } = post;
|
||||
<>
|
||||
{' '}
|
||||
·{' '}
|
||||
<a class="capitalize hover:underline inline-block" href={getPermalink(post.category, 'category')}>
|
||||
{post.category.replaceAll('-', ' ')}
|
||||
<a class="hover:underline inline-block" href={getPermalink(post.category.slug, 'category')}>
|
||||
{post.category.title}
|
||||
</a>
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user