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 Post
published: 2023-09-09
description: This is my first post on my new Astro blog.
image: ./cover.jpg
tags: [Frontend, Blog]
category: Technology
draft: false
lang: "en"
---
AttributeDescription
titleArticle title.
publishedArticle publication date.
descriptionShort article description, displayed on the homepage.
imageArticle cover image path.
1. Starts with http:// or https://: Use online image
2. Starts with /: Use image from public directory
3. No prefix: Relative to markdown file path
tagsArticle tags.
categoryArticle category.
draftWhether it’s a draft, drafts will not be displayed.
langArticle 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 article

Language 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
Author
AndreaFrederica
Published at
2024-04-01