Skip to content

Commit

Permalink
refactor(CustomLayout): supress errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Delnegend committed Jan 15, 2025
1 parent 8590f4c commit 8661a41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vitepress/theme/yanami/layouts/CustomLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function getPostAuthors(): TeamMember[] {
<Layout>
<template class="my-4" #doc-before>
<h1 class="my-2 text-4xl font-semibold leading-10">
<!-- @vue-expect-error -->
{{ $frontmatter.title }}
</h1>
<h2 class="my-2">
Expand All @@ -64,8 +65,10 @@ function getPostAuthors(): TeamMember[] {
<span class="font-semibold">{{ author.name }}</span>
</span>
</div>
<!-- @vue-expect-error -->
&nbsp;• {{ formatDate($frontmatter.date).readable }}
</div>
<!-- @vue-expect-error -->
<TagBadges class="my-3" :tagList="$frontmatter.tags" v-if="$frontmatter.tags" />
</h2>
</template>
Expand Down

0 comments on commit 8661a41

Please sign in to comment.