We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9245226 commit 1e64773Copy full SHA for 1e64773
src/client/theme-default/NotFound.vue
@@ -2,11 +2,14 @@
2
<div class="theme">
3
<h1>404</h1>
4
<blockquote>{{ getMsg() }}</blockquote>
5
- <a :href="$site.base" aria-label="go to home">Take me home.</a>
+ <a :href="site.base" aria-label="go to home">Take me home.</a>
6
</div>
7
</template>
8
9
<script setup lang="ts">
10
+import { useData } from 'vitepress'
11
+
12
+const { site } = useData()
13
const msgs = [
14
`There's nothing here.`,
15
`How did we get here?`,
0 commit comments