update memu and few more improvement
This commit is contained in:
1065
config/_default/hugo.toml
Normal file
1065
config/_default/hugo.toml
Normal file
File diff suppressed because it is too large
Load Diff
16
config/_default/languages.toml
Normal file
16
config/_default/languages.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[en]
|
||||
weight = 10
|
||||
disabled = false
|
||||
contentDir = "content/en"
|
||||
languageCode = "en"
|
||||
languageName = "English"
|
||||
hasCJKLanguage = false
|
||||
copyright = "This work is licensed under CC BY-NC-SA-4.0."
|
||||
[zh-CN]
|
||||
weight = 20
|
||||
disabled = false
|
||||
contentDir = "content/zh-cn"
|
||||
languageCode = "zh-CN"
|
||||
languageName = "简体中文"
|
||||
hasCJKLanguage = true
|
||||
copyright = "本站内容采用 CC BY-NC-SA 4.0 国际许可协议。"
|
||||
81
config/_default/menus.en.toml
Normal file
81
config/_default/menus.en.toml
Normal file
@@ -0,0 +1,81 @@
|
||||
# -------------------------------------------------------------------------------------
|
||||
# Menu Configuration
|
||||
# See: https://fixit.lruihao.cn/documentation/basics/#menu-configuration
|
||||
# -------------------------------------------------------------------------------------
|
||||
|
||||
[[main]]
|
||||
identifier = "archives"
|
||||
parent = ""
|
||||
# you can add extra information before the name (HTML format is supported), such as icons
|
||||
pre = ""
|
||||
# you can add extra information after the name (HTML format is supported), such as icons
|
||||
post = ""
|
||||
name = "Archives"
|
||||
url = "/archives/"
|
||||
# title will be shown when you hover on this menu link
|
||||
title = ""
|
||||
weight = 1
|
||||
# FixIt 0.2.14 | NEW add user-defined content to menu items
|
||||
[main.params]
|
||||
# add css class to a specific menu item
|
||||
class = ""
|
||||
# whether set as a draft menu item whose function is similar to a draft post/page
|
||||
draft = false
|
||||
# FixIt 0.2.16 | NEW add fontawesome icon to a specific menu item
|
||||
icon = "fa-solid fa-archive"
|
||||
# FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"]
|
||||
type = ""
|
||||
[[main]]
|
||||
identifier = "categories"
|
||||
parent = "archives"
|
||||
pre = ""
|
||||
post = ""
|
||||
name = "Categories"
|
||||
url = "/categories/"
|
||||
title = ""
|
||||
weight = 2
|
||||
[main.params]
|
||||
icon = "fa-solid fa-folder-tree"
|
||||
[[main]]
|
||||
identifier = "collections"
|
||||
parent = "archives"
|
||||
name = "Collections"
|
||||
url = "collections/"
|
||||
weight = 3
|
||||
[main.params]
|
||||
icon = "fa-solid fa-layer-group"
|
||||
[[main]]
|
||||
identifier = "tags"
|
||||
parent = "archives"
|
||||
pre = ""
|
||||
post = ""
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
title = ""
|
||||
weight = 4
|
||||
[main.params]
|
||||
icon = "fa-solid fa-tags"
|
||||
|
||||
[[main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
url = "about/"
|
||||
weight = 20
|
||||
[main.params]
|
||||
icon = "fa-solid fa-circle-info"
|
||||
[[main]]
|
||||
identifier = "friends"
|
||||
parent = "about"
|
||||
name = "Friends"
|
||||
url = "/friends/"
|
||||
weight = 5
|
||||
[main.params]
|
||||
icon = "fa-solid fa-link"
|
||||
[[main]]
|
||||
identifier = "resume"
|
||||
parent = "about"
|
||||
name = "My Resume"
|
||||
url = "/resume/"
|
||||
weight = 5
|
||||
[main.params]
|
||||
icon = "fa-solid fa-newspaper"
|
||||
81
config/_default/menus.zh-cn.toml
Normal file
81
config/_default/menus.zh-cn.toml
Normal file
@@ -0,0 +1,81 @@
|
||||
# -------------------------------------------------------------------------------------
|
||||
# Menu Configuration
|
||||
# See: https://fixit.lruihao.cn/documentation/basics/#menu-configuration
|
||||
# -------------------------------------------------------------------------------------
|
||||
|
||||
[[main]]
|
||||
identifier = "archives"
|
||||
parent = ""
|
||||
# you can add extra information before the name (HTML format is supported), such as icons
|
||||
pre = ""
|
||||
# you can add extra information after the name (HTML format is supported), such as icons
|
||||
post = ""
|
||||
name = "归档"
|
||||
url = "/archives/"
|
||||
# title will be shown when you hover on this menu link
|
||||
title = ""
|
||||
weight = 1
|
||||
# FixIt 0.2.14 | NEW add user-defined content to menu items
|
||||
[main.params]
|
||||
# add css class to a specific menu item
|
||||
class = ""
|
||||
# whether set as a draft menu item whose function is similar to a draft post/page
|
||||
draft = false
|
||||
# FixIt 0.2.16 | NEW add fontawesome icon to a specific menu item
|
||||
icon = "fa-solid fa-archive"
|
||||
# FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"]
|
||||
type = ""
|
||||
[[main]]
|
||||
identifier = "categories"
|
||||
parent = "archives"
|
||||
pre = ""
|
||||
post = ""
|
||||
name = "分类"
|
||||
url = "/categories/"
|
||||
title = ""
|
||||
weight = 2
|
||||
[main.params]
|
||||
icon = "fa-solid fa-folder-tree"
|
||||
[[main]]
|
||||
identifier = "collections"
|
||||
parent = "archives"
|
||||
name = "合集"
|
||||
url = "collections/"
|
||||
weight = 3
|
||||
[main.params]
|
||||
icon = "fa-solid fa-layer-group"
|
||||
[[main]]
|
||||
identifier = "tags"
|
||||
parent = "archives"
|
||||
pre = ""
|
||||
post = ""
|
||||
name = "标签"
|
||||
url = "/tags/"
|
||||
title = ""
|
||||
weight = 4
|
||||
[main.params]
|
||||
icon = "fa-solid fa-tags"
|
||||
|
||||
[[main]]
|
||||
identifier = "about"
|
||||
name = "关于"
|
||||
url = "about/"
|
||||
weight = 20
|
||||
[main.params]
|
||||
icon = "fa-solid fa-circle-info"
|
||||
[[main]]
|
||||
identifier = "friends"
|
||||
parent = "about"
|
||||
name = "友链"
|
||||
url = "/friends/"
|
||||
weight = 5
|
||||
[main.params]
|
||||
icon = "fa-solid fa-link"
|
||||
[[main]]
|
||||
identifier = "resume"
|
||||
parent = "about"
|
||||
name = "我的简历"
|
||||
url = "/resume/"
|
||||
weight = 5
|
||||
[main.params]
|
||||
icon = "fa-solid fa-newspaper"
|
||||
Reference in New Issue
Block a user