(null) const loading = ref(true) @@ -34,6 +35,7 @@ onBeforeRouteUpdate(loadPage) + ↑ @@ -50,7 +52,9 @@ onBeforeRouteUpdate(loadPage) - + + + diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index f92beac..5357672 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -6,6 +6,7 @@ import { simpleDateFormat } from '@lib/dates' import { TITLE } from '@lib/meta' import PageFooter from '@components/PageFooter.vue' import { stripHTML } from '@/lib/strings' +import NavBar from '@/components/NavBar.vue' const articles = ref([]) @@ -17,8 +18,8 @@ onBeforeMount(async () => { - - + + diff --git a/src/views/NotFoundView.vue b/src/views/NotFoundView.vue index df4a2af..5ac086b 100644 --- a/src/views/NotFoundView.vue +++ b/src/views/NotFoundView.vue @@ -11,6 +11,7 @@ onBeforeMount(() => { + Page not found diff --git a/vite.config.ts b/vite.config.ts index bc2c02e..b3df1cd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,6 +17,8 @@ export default ({ mode }: { mode: string }) => { process.env.VITE_APP_SIGNATURE = articlesConfig['signature'] process.env.VITE_CUSTOM_HEAD = articlesConfig['custom_head'] process.env.VITE_APP_COPYRIGHT = articlesConfig['copyright'] + process.env.VITE_APP_RSS_LINK = articlesConfig['rss_link'] + process.env.VITE_APP_BACK_LINK = articlesConfig['back_link'] return defineConfig({ plugins: [vue(), vueDevTools(), mdPlugin({ mode: [Mode.HTML] })],