valaxy-theme-press 0.25.8 → 0.25.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ import { useI18n } from 'vue-i18n'
6
6
  const { t } = useI18n()
7
7
  const { page } = useData()
8
8
 
9
- const date = computed(() => new Date(page.value.lastUpdated!))
9
+ const date = computed(() => new Date(page.value?.lastUpdated || 0))
10
10
  const isoDatetime = computed(() => date.value?.toISOString())
11
11
  const datetime = ref('')
12
12
 
@@ -69,9 +69,8 @@ onContentUpdated(() => {
69
69
  <slot name="main-content-md" />
70
70
  <slot />
71
71
  </ValaxyMd>
72
- <PressDocFooter v-if="!isHome" class="pb-8 max-w-4xl" w="full" m="auto" />
73
-
74
72
  <slot name="main-content-after" />
73
+ <PressDocFooter v-if="!isHome" class="pb-8 max-w-4xl" w="full" m="auto" />
75
74
  </slot>
76
75
  </div>
77
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-press",
3
- "version": "0.25.8",
3
+ "version": "0.25.10",
4
4
  "description": "Docs Theme for Valaxy",
5
5
  "author": {
6
6
  "email": "me@yunyoujun.cn",
@@ -26,6 +26,6 @@
26
26
  "@docsearch/js": "^3.9.0"
27
27
  },
28
28
  "devDependencies": {
29
- "valaxy": "0.25.8"
29
+ "valaxy": "0.25.10"
30
30
  }
31
31
  }