use page menus instead of menu config
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
name: Home
|
||||
weight: 1
|
||||
pre: fa-house
|
||||
---
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
name: 主页
|
||||
weight: 1
|
||||
pre: fa-house
|
||||
---
|
@ -3,6 +3,11 @@ title: "About Us"
|
||||
date: 2023-04-20
|
||||
draft: false
|
||||
layout: page
|
||||
menu:
|
||||
main:
|
||||
name: About
|
||||
weight: 5
|
||||
pre: fa-info-circle
|
||||
---
|
||||
|
||||
# About Us
|
||||
|
@ -3,6 +3,11 @@ title: "关于我们"
|
||||
date: 2023-04-20
|
||||
draft: false
|
||||
layout: page
|
||||
menu:
|
||||
main:
|
||||
name: 关于
|
||||
weight: 5
|
||||
pre: fa-info-circle
|
||||
---
|
||||
|
||||
# About Us
|
||||
|
@ -3,4 +3,9 @@ title: "Archives"
|
||||
date: 2023-04-20
|
||||
draft: false
|
||||
layout: archives
|
||||
menu:
|
||||
main:
|
||||
name: Archives
|
||||
weight: 4
|
||||
pre: fa-archive
|
||||
---
|
@ -3,4 +3,9 @@ title: "归档"
|
||||
date: 2023-04-20
|
||||
draft: false
|
||||
layout: archives
|
||||
menu:
|
||||
main:
|
||||
name: 归档
|
||||
weight: 4
|
||||
pre: fa-archive
|
||||
---
|
7
content/categories/_index.en.md
Normal file
7
content/categories/_index.en.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
name: Categories
|
||||
weight: 3
|
||||
pre: fa-stream
|
||||
---
|
7
content/categories/_index.zh-CN.md
Normal file
7
content/categories/_index.zh-CN.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
name: 分类
|
||||
weight: 2
|
||||
pre: fa-stream
|
||||
---
|
7
content/tags/_index.en.md
Normal file
7
content/tags/_index.en.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
name: Tags
|
||||
weight: 3
|
||||
pre: fa-tags
|
||||
---
|
7
content/tags/_index.zh-CN.md
Normal file
7
content/tags/_index.zh-CN.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
menu:
|
||||
main:
|
||||
name: 标签
|
||||
weight: 3
|
||||
pre: fa-tags
|
||||
---
|
Reference in New Issue
Block a user