青岛红树林度假世界 | 拍摄地
分类
标签
阿里邮箱 阿里云 发送邮件 掘金 免费 签到 邮件 域名邮箱 原生 自动化 AI ant-design-x biome Blogging brew brew services chat command commitizen component library Custom Element Customization cz-git Demo dns 解析 Example fish shell Fuwari git Github Actions google highlight hyosan-chat i18n JavaScript juejin juejin-helper lib Linux Lit LitElement macos Markdown markdown markdown-it msmtp postgresql postgresql 17 prompts shadow dom shell shikijs shoelace simple-git-hooks slot systemctl template terminal ts Video vite vitepress vue web components Web Components
160 字
1 分钟
Simple Guides for Fuwari
Cover image source: Source
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: 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
---
Attribute | Description |
---|---|
title | The title of the post. |
published | The date the post was published. |
description | A short description of the post. Displayed on index page. |
image | The cover image path of the post. 1. Start with http:// or https:// : Use web image2. Start with / : For image in public dir3. With none of the prefixes: Relative to the markdown file |
tags | The tags of the post. |
category | The category of the post. |
draft | If this post is still a draft, which won’t be displayed. |
Where to Place the Post Files
Your post files should be placed in src/content/posts/
directory. You can also create sub-directories to better organize your posts and assets.
src/content/posts/
├── post-1.md
└── post-2/
├── cover.png
└── index.md