182 字
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. |
priority | The priority of the pinned post. Smaller value means higher priority (0, 1, 2…). |
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.webp └── index.md支持与分享
如果这篇文章对你有帮助,欢迎支持作者或分享给更多人
Simple Guides for Mizuki
https://blog.souloss.com/posts/guide/ 部分信息可能已经过时
相关文章 智能推荐
1
Markdown Tutorial
Examples A simple example of a Markdown blog post.
2
开发工具推荐与效率软件
效率 提升开发效率的必备工具推荐——编辑器、终端、版本控制、笔记与协作工具。
3
Markdown Mermaid
Examples A simple example of a Markdown blog post with Mermaid.
4
谈代码历史与版本控制系统
个人想法 从手动复制文件到分布式版本控制——梳理版本管理系统的演化史,探讨语义化版本、规范提交消息和持续集成的现代工程实践。
5
为什么你应该使用 Git 进行版本控制
技术科普 深入分析 Git 相比其他版本控制系统的设计优势,理解分布式版本控制的核心价值。






