mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-11 02:01:29 +08:00
完善菜单栏
This commit is contained in:
21
config.toml
21
config.toml
@@ -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
6
content/archive.md
Normal file
@@ -0,0 +1,6 @@
|
||||
+++
|
||||
title = "Archive"
|
||||
layout = "list"
|
||||
url = "/archive"
|
||||
type = "archive"
|
||||
+++
|
||||
Reference in New Issue
Block a user