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 分享
如果这篇文章对你有帮助,欢迎分享给更多人!
部分信息可能已经过时
相关文章 智能推荐
1
转自一只小羊的助理——ZYY讽刺文章
暂无简介
2
从 VuePress 迁移到 Fuwari
本文记录了我将个人博客从 VuePress 迁移到基于 Astro 的 Fuwari 主题的全过程,包括遇到的各种环境问题、配置难点以及最终的解决方案。希望能给同样想换主题或迁移到 Astro 的朋友一些参考。
3
AyAccount
本文介绍了我独立开发的统一身份认证后端服务,为 Web 与移动应用提供安全、便捷的账号体系。
4
AyAccountSDK.JS
本文介绍了我自主开发的轻量级用户认证 JavaScript SDK,专为 Web 应用快速集成登录、注册及账号管理功能而设计。
5
AyEditor
本文介绍了由我开发的轻量级网页代码编辑器 AyEditor,专为快速编写、调试与保存代码而设计。