Add search to the Hugo website

This commit is contained in:
John Wellbelove 2026-09-02 08:54:41 +01:00
parent 2f338411a3
commit 452b6269f3

View File

@ -48,30 +48,36 @@ includeFiles = [".htaccess"]
defaultOpen = false defaultOpen = false
autoCollapse = true autoCollapse = true
[[menus.main]]
name = "Search"
weight = 1
[menus.main.params]
type = "search"
[[menus.main]] [[menus.main]]
name = "Home" name = "Home"
pageRef = "/docs" pageRef = "/docs"
weight = 1 weight = 2
[[menus.main]] [[menus.main]]
name = "Github" name = "Github"
url = "https://github.com/ETLCPP/etl.git" url = "https://github.com/ETLCPP/etl.git"
weight = 2 weight = 3
[[menus.main]] [[menus.main]]
name = "Slack" name = "Slack"
url = "https://slofile.com/slack/etlcpp" url = "https://slofile.com/slack/etlcpp"
weight = 3 weight = 4
[[menus.main]] [[menus.main]]
name = "Arduino" name = "Arduino"
url = "https://github.com/ETLCPP/etl-arduino/archive/master.zip" url = "https://github.com/ETLCPP/etl-arduino/archive/master.zip"
weight = 4 weight = 5
[[menus.main]] [[menus.main]]
name = "Blog" name = "Blog"
pageRef = "/docs/blog" pageRef = "/docs/blog"
weight = 5 weight = 6
[[menus.main]] [[menus.main]]
name = "About" name = "About"