191 words
1 minute
Fuwari Blog Template User Guide (Koro Version)
Cover image source: Source
This blog template is built on Astro. For content not covered in this guide, you can find answers in the Astro documentation.
Article Front-matter
---title: My First Blog Postpublished: 2023-09-09description: This is my first post on my new Astro blog.image: ./cover.jpgtags: [Frontend, Blog]category: Technologydraft: falselang: "en"---| Attribute | Description |
|---|---|
title | Article title. |
published | Article publication date. |
description | Short article description, displayed on the homepage. |
image | Article cover image path. 1. Starts with http:// or https://: Use online image2. Starts with /: Use image from public directory3. No prefix: Relative to markdown file path |
tags | Article tags. |
category | Article category. |
draft | Whether it’s a draft, drafts will not be displayed. |
lang | Article language (e.g., “zh_cn”, “en”, “ja”). |
Article File Location
Your article files should be placed in the src/content/posts/ directory. You can also create subdirectories to better organize your articles and resources.
Multilingual Support
For multilingual articles, use the following naming convention:
src/content/posts/├── guide/│ ├── cover.jpeg│ ├── index.md # Default language (Chinese)│ └── index.en.md # English version├── hello-world/│ ├── hello-world.zh_cn.md│ └── hello-world.en.md└── single-post.md # Single-language articleLanguage Switching
Globally switch languages in the top Header; it will automatically filter.
Supported Languages
This blog template supports the following languages:
- Simplified Chinese:
zh_cn - English:
en - Japanese:
ja - Russian:
ru
Fuwari Blog Template User Guide (Koro Version)
https://blog.sirrus.cc/en/posts/guide