1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-05 23:32:45 +08:00

初始化文章布局

This commit is contained in:
2025-09-22 22:20:28 +08:00
parent df8f461f70
commit 94f253360e

View File

@@ -0,0 +1,16 @@
<template>
<article class="article-layout">
<header>
<h1>{{ frontmatter.title }}</h1>
<p v-if="frontmatter.date">发表于{{ frontmatter.date }}</p>
</header>
<section>
<Content />
</section>
</article>
</template>
<script setup lang="ts">
import { useGlobalData } from "../composables/useGlobalData";
const { frontmatter } = useGlobalData();
</script>