feat: enable blog module
This commit is contained in:
parent
dd5b71f8f6
commit
688591d2ca
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: Docusaurus Blog 格式
|
||||
description: This introduces how to write a blog on docusaurus.
|
||||
slug: hello-docusaurus-blog
|
||||
authors:
|
||||
- kv
|
||||
tags: [hello, docusaurus-v2]
|
||||
image: https://i.imgur.com/mErPwqL.png
|
||||
hide_table_of_contents: false
|
||||
---
|
||||
|
||||
Welcome to this blog. This blog is created with [**Docusaurus**](https://docusaurus.io/).
|
||||
|
||||
<!-- truncate -->
|
||||
|
||||
Refer to [this](https://docusaurus.io/docs/blog#adding-posts).
|
||||
|
||||
This is my first post on Docusaurus.
|
||||
|
||||
A whole bunch of exploration to follow.
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
kv:
|
||||
name: KirisameVanilla
|
||||
title: 本项目管理人
|
||||
url: https://vanillaaaa.org
|
||||
image_url: https://vanillaaaa.org/_app/immutable/assets/favicon.39UucjmU.png
|
||||
email: vanillaaaajp@gmail.com
|
||||
socials:
|
||||
x: v4n1llaaaa
|
||||
github: KirisameVanilla
|
||||
|
|
@ -57,7 +57,11 @@ const config = {
|
|||
editUrl:
|
||||
'https://github.com/BetterECNU/SharedCourses/tree/main',
|
||||
},
|
||||
blog: false,
|
||||
blog: {
|
||||
blogTitle: 'ECNU·课栈博客',
|
||||
blogDescription: '分享生涯经验, 发布项目动态',
|
||||
postsPerPage: 'ALL',
|
||||
},
|
||||
theme: {
|
||||
customCss: './src/css/custom.css',
|
||||
},
|
||||
|
|
@ -90,6 +94,7 @@ const config = {
|
|||
{to: '/docs/', label: '课栈', position: 'left'},
|
||||
{to: '/docs/undergraduate/', label: '本科生院', position: 'left'},
|
||||
{to: '/docs/postgraduate/', label: '研究生院', position: 'left'},
|
||||
{to: 'blog', label: '博客', position: 'right'},
|
||||
{
|
||||
href: 'https://github.com/BetterECNU/SharedCourses',
|
||||
label: 'GitHub',
|
||||
|
|
@ -123,6 +128,10 @@ const config = {
|
|||
label: 'QQ 群聊',
|
||||
href: 'https://qm.qq.com/q/ARnu9JwBfq',
|
||||
},
|
||||
{
|
||||
label: '博客',
|
||||
to: '/blog',
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue