improve path resolution stability

This commit is contained in:
Jacky Zhao 2023-08-19 16:28:44 -07:00
parent c874e7e937
commit dd47be1bc6
5 changed files with 8 additions and 7 deletions
quartz/components

View file

@ -56,7 +56,7 @@ export function PageList({ fileData, allFiles, limit }: Props) {
<li>
<a
class="internal tag-link"
href={resolveRelative(fileData.slug!, `tags/${tag}/index` as FullSlug)}
href={resolveRelative(fileData.slug!, `tags/${tag}` as FullSlug)}
>
#{tag}
</a>