refactor: remote web font & auto generate title by frontmatter

This commit is contained in:
YunYouJun
2022-05-09 02:18:17 +08:00
parent 6f2383059b
commit ff21c909d1
11 changed files with 404 additions and 300 deletions

View File

@@ -0,0 +1,16 @@
<script lang="ts" setup>
defineProps<{
frontmatter: {
title: string
}
}>()
</script>
<template>
<div m="t-4" class="max-w-900px m-auto text-left">
<h3 text="center 3xl" font="serif !black">
{{ frontmatter?.title }}
</h3>
<slot class="markdown-body" />
</div>
</template>