@@ -11,15 +11,17 @@ const { theme, page, frontmatter } = useData()
1111const =  useEditLink ()
1212const =  usePrevNext ()
1313
14- const =  computed (() =>  {
15-   return  theme .value .editLink  &&  frontmatter .value .editLink  !==  false  
16- }) 
17- const =  computed (() =>  {
18-   return  page .value .lastUpdated  &&  frontmatter .value .lastUpdated  !==  false  
19- }) 
20- const =  computed (() =>  {
21-   return  hasEditLink .value  ||  hasLastUpdated .value  ||  control .value .prev  ||  control .value .next  
22- }) 
14+ const =  computed (
15+   () =>  theme .value .editLink  &&  frontmatter .value .editLink  !==  false  
16+ ) 
17+ const =  computed (() =>  page .value .lastUpdated )
18+ const =  computed (
19+   () =>  
20+     hasEditLink .value  ||  
21+     hasLastUpdated .value  ||  
22+     control .value .prev  ||  
23+     control .value .next  
24+ ) 
2325script >
2426
2527<template >
@@ -47,14 +49,28 @@ const showFooter = computed(() => {
4749      <span  class =" visually-hidden" id =" doc-footer-aria-label" span >
4850
4951      <div  class =" pager" 
50-         <VPLink  v-if =" control.prev?.link" class =" pager-link prev" :href =" control.prev.link" 
51-           <span  class =" desc" v-html =" theme.docFooter?.prev || 'Previous page'" span >
52+         <VPLink 
53+           v-if =" control.prev?.link" 
54+           class =" pager-link prev" 
55+           :href =" control.prev.link" 
56+         >
57+           <span 
58+             class =" desc" 
59+             v-html =" theme.docFooter?.prev || 'Previous page'" 
60+           ></span >
5261          <span  class =" title" v-html =" control.prev.text" span >
5362        </VPLink >
5463      </div >
5564      <div  class =" pager" 
56-         <VPLink  v-if =" control.next?.link" class =" pager-link next" :href =" control.next.link" 
57-           <span  class =" desc" v-html =" theme.docFooter?.next || 'Next page'" span >
65+         <VPLink 
66+           v-if =" control.next?.link" 
67+           class =" pager-link next" 
68+           :href =" control.next.link" 
69+         >
70+           <span 
71+             class =" desc" 
72+             v-html =" theme.docFooter?.next || 'Next page'" 
73+           ></span >
5874          <span  class =" title" v-html =" control.next.text" span >
5975        </VPLink >
6076      </div >
0 commit comments