perf(theme): improve breadcrumb seo

This commit is contained in:
pengzhanbo 2024-10-26 01:12:00 +08:00
parent 97b59bfc76
commit 3390b49c1f

View File

@ -86,6 +86,7 @@ function resolveSidebar(
>
<VPLink :href="link" class="breadcrumb" :class="{ current }" property="item" typeof="WebPage" :text="text" />
<span v-if="index !== breadcrumbList.length - 1" class="vpi-chevron-right" />
<meta property="name" :content="text">
<meta property="position" :content="`${index + 1}`">
</li>
</ol>