From 452b6269f30ffe1d836349b7deea74156ff8d37e Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 2 Sep 2026 08:54:41 +0100 Subject: [PATCH] Add search to the Hugo website --- hugo/hugo.toml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/hugo/hugo.toml b/hugo/hugo.toml index ae907872..a4ae3632 100644 --- a/hugo/hugo.toml +++ b/hugo/hugo.toml @@ -48,30 +48,36 @@ includeFiles = [".htaccess"] defaultOpen = false autoCollapse = true +[[menus.main]] + name = "Search" + weight = 1 + [menus.main.params] + type = "search" + [[menus.main]] name = "Home" pageRef = "/docs" - weight = 1 + weight = 2 [[menus.main]] name = "Github" url = "https://github.com/ETLCPP/etl.git" - weight = 2 + weight = 3 [[menus.main]] name = "Slack" url = "https://slofile.com/slack/etlcpp" - weight = 3 + weight = 4 [[menus.main]] name = "Arduino" url = "https://github.com/ETLCPP/etl-arduino/archive/master.zip" - weight = 4 + weight = 5 [[menus.main]] name = "Blog" pageRef = "/docs/blog" - weight = 5 + weight = 6 [[menus.main]] name = "About"