啊茶茶(゜-゜)つロ 干杯~
239 字
1 分钟
Fuwari 的简单指南
封面图片来源: 来源
此博客模板使用 Astro构建。您可以在 Astro Docs中找到答案。
文章前言
---
title: 我的第一篇博客文章
published: 2023-09-09
description: 这是我的新 Astro 博客的第一篇文章
image: ./cover.jpg
tags: [博客, 演示]
category: 前端
draft: false
---
| 属性 | 描述 |
|---|---|
title | 帖子的标题 |
published | 帖子发布的日期 |
description | 帖子的简短描述(显示在索引页上) |
image | 文章封面图片路径设置: 1.使用网页图片: 以 http:// 或 https://开头2.使用本地 public 目录中的图片: 以 /开头3. 不带任何前缀: 相对于 markdown 文件 |
tags | 帖子的标签 |
category | 帖子的类别 |
draft | 如果该帖子仍为草稿,则不会显示 |
在哪里放置帖子文件
您的帖子文件应放在 src/content/posts/ 目录中。 您还可以创建子目录以更好地组织您的帖子和资产。
src/content/posts/
├── post-1.md
└── post-2/
├── cover.png
└── index.md
.ZLVH8qVR_Z28cKNe.webp)

