diff --git a/hugo.toml b/hugo.toml index 96307ea9..0788d75d 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,7 +2,7 @@ # It's recommended to use Alternate Theme Config to configure FixIt # Modifying this file may result in merge conflict # There are currently some restrictions to what a theme component can configure: -# params, menu, outputformats and mediatypes +# params, menu(s), outputformats and mediatypes # ===================================================================================== # ------------------------------------------------------------------------------------- @@ -51,9 +51,9 @@ quality = 75 # See: https://fixit.lruihao.cn/documentation/basics/#menu-configuration # ------------------------------------------------------------------------------------- -[menu] +[menus] -[[menu.main]] +[[menus.main]] identifier = "archives" parent = "" # you can add extra information before the name (HTML format is supported), such as icons @@ -67,7 +67,7 @@ title = "" weight = 1 # FixIt 0.2.14 | NEW add user-defined content to menu items -[menu.main.params] +[menus.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 @@ -79,7 +79,7 @@ type = "" # FixIt 0.3.9 | NEW whether to show the submenu item divider line divided = false -[[menu.main]] +[[menus.main]] identifier = "categories" parent = "" pre = "" @@ -89,10 +89,10 @@ url = "/categories/" title = "" weight = 2 -[menu.main.params] +[menus.main.params] icon = "fa-solid fa-folder-tree" -[[menu.main]] +[[menus.main]] identifier = "tags" parent = "" pre = "" @@ -102,7 +102,7 @@ url = "/tags/" title = "" weight = 3 -[menu.main.params] +[menus.main.params] icon = "fa-solid fa-tags" # ------------------------------------------------------------------------------------- diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index a9caabbd..c4a0943f 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251225101113-8ffb9a95" -}} +{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251229083817-74ed94be" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}