File tree 1 file changed +4
-5
lines changed
src/client/theme-default/components
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import { computed } from ' vue'
3
3
import { useData } from ' ../composables/data'
4
- import { normalizeLink } from ' ../support/utils'
5
4
import { useEditLink } from ' ../composables/edit-link'
6
5
import { usePrevNext } from ' ../composables/prev-next'
7
6
import VPIconEdit from ' ./icons/VPIconEdit.vue'
@@ -43,16 +42,16 @@ const showFooter = computed(() => {
43
42
44
43
<nav v-if =" control.prev?.link || control.next?.link" class =" prev-next" >
45
44
<div class =" pager" >
46
- <a v-if =" control.prev?.link" class =" pager-link prev" :href =" normalizeLink( control.prev.link) " >
45
+ <VPLink v-if =" control.prev?.link" class =" pager-link prev" :href =" control.prev.link" >
47
46
<span class =" desc" v-html =" theme.docFooter?.prev || 'Previous page'" ></span >
48
47
<span class =" title" v-html =" control.prev.text" ></span >
49
- </a >
48
+ </VPLink >
50
49
</div >
51
50
<div class =" pager" >
52
- <a v-if =" control.next?.link" class =" pager-link next" :href =" normalizeLink( control.next.link) " >
51
+ <VPLink v-if =" control.next?.link" class =" pager-link next" :href =" control.next.link" >
53
52
<span class =" desc" v-html =" theme.docFooter?.next || 'Next page'" ></span >
54
53
<span class =" title" v-html =" control.next.text" ></span >
55
- </a >
54
+ </VPLink >
56
55
</div >
57
56
</nav >
58
57
</footer >
You can’t perform that action at this time.
0 commit comments