284 字
1 分钟
初始帖? 还有新的博客主题?owo?!
有一说一这个框架很无敌
- 自动部署在commit触发action编译后更新
- 是真挺自动化的了 而且静态网站我甚至可以不用自己服务器 XD
- 而且支持
Markdown并且这个主题也挺好看的
这个作为一个最初的帖子进行上传吧 原本这个是教程来的
以下是原始教学文本
Tip: 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: 2020-02-02description: This is the first post of my new Astro blog.image: ./cover.webptags: [Foo, Bar]category: Front-enddraft: falseseries: "Twilight"---| 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 初始帖? 还有新的博客主题?owo?!
https://ciallo.shizoukia.dev/posts/init/ 部分信息可能已经过时