跳到主要内容

创建博客文章

Docusaurus 为每篇博客文章创建一个页面,还会创建一个博客索引页面、一个标签系统、一个 RSS 订阅源...

创建您的第一篇文章

blog/2021-02-28-greetings.md 创建一个文件:

blog/2021-02-28-greetings.md
---
slug: greetings
title: 问候!
authors:
- name: Joel Marcey
title: Docusaurus 1 的共同创建者
url: https://github.com/JoelMarcey
image_url: https://github.com/JoelMarcey.png
- name: Sébastien Lorber
title: Docusaurus 维护者
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
tags: [问候]
---

恭喜,您已经发表了您的第一篇文章!

随意玩弄和编辑这篇文章,随心所欲。

现在可以在 http://localhost:3000/blog/greetings 访问新博客文章。