Pixiv @chokei
专栏 - Examples
分类
标签
0x400 AI API Astro astro B2 Blogging Bot Building Ciallo cloudflare Customization Default Demo Essay Example Folo Fuwari fuwari Giscus github Guide IDEA ipv6 LeavesMC Link Markdown MC Minecraft mTLS MySQL netlify Picture Plugin Replay serenbanka server SSL tunnelbroker Video workers 千恋万花 反代 字体 开源 记录 豪赤 随笔
367 字
2 min
Simple Guides for Fuwari
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. 此博客模板使用 Astro 构建。对于本指南未提及的内容,您可以在 Astro 文档中找到答案。
Front-matter of Posts
文章的前言配置(Front-matter)
---title: My First Blog Postpublished: 2023-09-09description: This is the first post of my new Astro blog.image: ./cover.jpgtags: [Foo, Bar]category: Front-enddraft: 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 文章的封面图片路径。 1. 以 http:// 或 https:// 开头:使用网络图片2. 以 / 开头:指向 public 目录中的图片3. 无前缀:相对于 Markdown 文件的位置 |
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/
目录中。您也可以创建子目录以更好地组织文章和资源。
src/content/posts/├── post-1.md└── post-2/ ├── cover.png └── index.md
Simple Guides for Fuwari
https://fuwari.oh1.top/posts/default/