完善菜单栏

This commit is contained in:
Colin
2020-04-30 23:10:12 +08:00
parent fde4aeec8a
commit 2de457b7b1
2 changed files with 22 additions and 5 deletions

View File

@@ -9,9 +9,11 @@ paginate = 7
# "light" or "dark"
defaultTheme = "light"
# if you set this to 0, only submenu trigger will be visible
showMenuItems = 2
showMenuItems = 5
# Enable to show reading time in minutes for posts
showReadingTime = false
# leave empty to disable, enter display text to enable
lastModDisplay = "最后修改"
[languages]
[languages.en]
@@ -38,11 +40,20 @@ paginate = 7
# alt = "Your example logo alt text"
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "archive"
name = "Archive"
url = "/archive"
[[languages.en.menu.main]]
identifier = "categories"
name = "Categories"
url = "/categories"
[[languages.en.menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags"
[[languages.en.menu.main]]
identifier = "about"
name = "About"
url = "/about"
[[languages.en.menu.main]]
identifier = "showcase"
name = "Showcase"
url = "/showcase"

6
content/archive.md Normal file
View File

@@ -0,0 +1,6 @@
+++
title = "Archive"
layout = "list"
url = "/archive"
type = "archive"
+++