189 字
1 分钟
简单的Fuwari博客模板指南

Front-matter of Posts#

---
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
---
属性描述
title文章的标题。
published文章的发布日期。
description文章的简短描述。显示在索引页上。
image文章的封面图片路径。
1. 以 http://https:// 开头:使用网络图片
2. 以 / 开头:表示图片位于 public 目录
3. 无上述前缀:相对于 Markdown 文件的路径
tags文章的标签。
category文章的分类。
draft是否为草稿(草稿不会显示)。

Where to Place the Post Files#

帖子文件应该放在 src/content/posts/ 目录中。您也可以创建子目录,以便更好地组织您的帖子和资源。

src/content/posts/
├── post-1.md
└── post-2/
├── cover.png
└── index.md
简单的Fuwari博客模板指南
https://yao-jiaye.github.io/posts/guide/
作者
ヨウカヨウ
发布于
2025-07-01
许可协议
CC BY-NC-SA 4.0