Skip to content

Commit 5fd0b87

Browse files
author
reco_luan
committed
fix: fix footer
1 parent c453479 commit 5fd0b87

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

components/Footer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<span>
1212
<i class="iconfont reco-copyright"></i>
1313
<a>
14+
<span v-if="$themeConfig.author || $site.title">{{ $themeConfig.author || $site.title }}</span>
15+
&nbsp;&nbsp;
1416
<span v-if="$themeConfig.startYear">{{ $themeConfig.startYear }} - </span>
1517
{{ year }}
16-
&nbsp;&nbsp;
17-
<span v-if="$themeConfig.author || $site.title">{{ $themeConfig.author || $site.title }}</span>
1818
</a>
1919
</span>
2020
<span v-show="$themeConfig.valineConfig !== undefined">

components/Password.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@
2727
<i class="iconfont reco-theme"></i>
2828
<a target="blank" href="https://vuepress-theme-reco.recoluan.com">vuePress-theme-reco</a>
2929
</span>
30-
<span>
31-
<i class="iconfont reco-other"></i>
32-
<a>{{ $themeConfig.author || $site.title }}</a>
33-
</span>
3430
<span>
3531
<i class="iconfont reco-copyright"></i>
36-
<a>{{ year }}</a>
32+
<a>
33+
<span v-if="$themeConfig.author || $site.title">{{ $themeConfig.author || $site.title }}</span>
34+
&nbsp;&nbsp;
35+
<span v-if="$themeConfig.startYear">{{ $themeConfig.startYear }} - </span>
36+
{{ year }}
37+
</a>
3738
</span>
3839
</div>
3940
</ModuleTransition>

0 commit comments

Comments
 (0)