134 字
1 分钟
Mizuki文章编写教程
下面的是自带的,懒得改了
This blog template is built with Astro. For the things that are not mentioned in this guide, you may find the answers in the Astro Docs.
Front-matter of Posts
---title: 标题published: 时间description: 描述image: ./cover.jpgtags: [标,签]category: 分类draft: false---| Attribute | Description |
|---|---|
title | 文章标题 |
published | 发布日期 |
pinned | 是否顶置. |
priority | 顶置优先级 |
description | 简单描述 |
image | 封面图片路径: 1. 开头是 http:// 或 https://: 用网上图片(图床)2. 开头是 /: 放在 public的图片 |
tags | 标签 |
category | 分类 |
licenseName | 文章许可证名称 |
author | 作者 |
sourceLink | 源码链接 |
draft | 是不是草稿 |
文章放在哪里?
文章要放在 src/content/posts/ .
src/content/posts/├── post-1.md└── post-2/ ├── cover.webp 这是封面 └── index.md 这是文章 分享
如果这篇文章对你有帮助,欢迎分享给更多人!
部分信息可能已经过时
相关文章 智能推荐






