Skip to content

Commit c54a2c6

Browse files
committed
fix: add base router for img
1 parent a9bae48 commit c54a2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/HomeBlog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
:isHome="true"
1616
:currentPage="1"></note-abstract>
1717
<div class="info-wrapper">
18-
<img class="personal-img" :src="$frontmatter.faceImage || $themeConfig.logo" alt="hero">
18+
<img class="personal-img" :src="$withBase($frontmatter.faceImage || $themeConfig.logo)" alt="hero">
1919
<h3 class="name" v-if="$themeConfig.author || $site.title">{{ $themeConfig.author || $site.title }}</h3>
2020
<div class="num">
2121
<div>

0 commit comments

Comments
 (0)