fix: add base router for img

This commit is contained in:
reco_luan 2019-07-26 11:10:54 +08:00
parent a9bae48765
commit c54a2c6d02

View File

@ -15,7 +15,7 @@
:isHome="true"
:currentPage="1"></note-abstract>
<div class="info-wrapper">
<img class="personal-img" :src="$frontmatter.faceImage || $themeConfig.logo" alt="hero">
<img class="personal-img" :src="$withBase($frontmatter.faceImage || $themeConfig.logo)" alt="hero">
<h3 class="name" v-if="$themeConfig.author || $site.title">{{ $themeConfig.author || $site.title }}</h3>
<div class="num">
<div>