feat: about page and better config
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
import { TITLE } from '@lib/config'
|
||||
import { stripHTML } from '@lib/strings'
|
||||
import PageFooter from '@components/PageFooter.vue'
|
||||
import { onBeforeMount, ref } from 'vue'
|
||||
import { onBeforeMount, onMounted, onUpdated, ref } from 'vue'
|
||||
import NavBar from '@components/NavBar.vue'
|
||||
import { updateDynamicContent } from '@/lib/articles'
|
||||
|
||||
const html = ref<string>('')
|
||||
|
||||
@@ -11,7 +12,11 @@ onBeforeMount(async () => {
|
||||
window.document.title = stripHTML(TITLE)
|
||||
|
||||
html.value = (await import('@articles/not_found.md')).html
|
||||
|
||||
await updateDynamicContent()
|
||||
})
|
||||
onMounted(updateDynamicContent)
|
||||
onUpdated(updateDynamicContent)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user