Skip to main content

创建一篇博客文章

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: [greetings]
---

恭喜你,成功发布了你的第一篇博客文章!

欢迎随意修改和体验这篇示例文章。

现在,你可以在 http://localhost:3000/blog/greetings 访问这篇新的博客文章了。