feat: about page and better config

This commit is contained in:
2026-04-26 22:35:14 +02:00
parent a5b24dc9bf
commit 722548118a
14 changed files with 80 additions and 49 deletions
+6 -1
View File
@@ -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>