Add menu icon support and flexible search link

This commit is contained in:
James Panther
2023-01-16 14:21:03 +11:00
parent edd2d7c564
commit dfaa87222a
9 changed files with 307 additions and 86 deletions
+12 -2
View File
@@ -1,7 +1,7 @@
# -- Main Menu --
# The main menu is displayed in the header at the top of the page.
# Acceptable parameters are name, pageRef, page, url, title, weight.
#
#
# The simplest menu configuration is to provide:
# name = The name to be displayed for this menu link
# pageRef = The identifier of the page or section to link to
@@ -24,12 +24,22 @@
name = "Users"
pageRef = "users"
weight = 30
[[main]]
name = "GitHub"
url = "https://github.com/jpanther/congo"
weight = 40
[main.params]
icon = "github"
showName = false
target = "_blank"
[[main]]
identifier = "search"
weight = 99
[main.params]
action = "search"
icon = "search"
# -- Footer Menu --
# The footer menu is displayed at the bottom of the page, just before