142 字
1 分钟
Mizuki框架基本文章结构
2026-04-11

本博客也是由Mizuki框架搭建

创建文章#

---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: ./cover.jpg
tags: [Foo, Bar]
category: Front-end
draft: false
---
AttributeDescription
titleThe title of the post.
publishedThe date the post was published.
pinnedWhether this post is pinned to the top of the post list.
priorityThe priority of the pinned post. Smaller value means higher priority (0, 1, 2…).
descriptionA short description of the post. Displayed on index page.
imageThe cover image path of the post.
1. Start with http:// or https://: Use web image
2. Start with /: For image in public dir
3. With none of the prefixes: Relative to the markdown file
tagsThe tags of the post.
categoryThe category of the post.
licenseNameThe license name for the post content.
authorThe author of the post.
sourceLinkThe source link or reference for the post content.
draftIf this post is still a draft, which won’t be displayed.

结构#

src/content/posts/
├── post-1.md
└── post-2/
├── cover.webp
└── index.md
分享

如果这篇文章对你有帮助,欢迎分享给更多人!

部分信息可能已经过时

目录