168 字
1 分鐘
Simple Guides for Mizuki
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 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. |
pinned | Whether this post is pinned to the top of the post list. |
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. |
licenseName | The license name for the post content. |
author | The author of the post. |
sourceLink | The source link or reference for the post content. |
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 分享
如果這篇文章對你有幫助,歡迎分享給更多人!
Simple Guides for Mizuki
https://moe.lolicon.io/posts/guide/ 部分資訊可能已經過時
相關文章 智能推薦
1
部落格搬家啦!一次從 Hexo 到 Astro 的大遷徙記~
Blog 生成和部署系列 記錄從 Hexo + ShokaX 遷移到 Astro + Mizuki 的完整過程
2
Markdown Tutorial
Examples A simple example of a Markdown blog post.
3
Markdown Mermaid
Examples A simple example of a Markdown blog post with Mermaid.
4
「It's now safe to turn off your computer.」
隨筆 從一句話淺談科技歷史的回憶
5
解決 Windows XP 虛擬機音效問題
技術文 那台 Windows XP VM 不管怎樣弄,開機音樂還是破破的,伴隨着失真






