From b76076e2e305d41adfd9e584a11636c58a32c99a Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Sat, 5 Apr 2025 04:25:02 -0400 Subject: fix(Search-indexing): fixed search indexing and working on fixing missing leaflet elements --- config/_default/hugo.toml | 8 ++++++-- config/_default/menus/menus.en.toml | 19 +++++++++++++++---- 2 files changed, 21 insertions(+), 6 deletions(-) (limited to 'config/_default') diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index f11f2d1..0fa9581 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -128,10 +128,14 @@ home = ["HTML", "RSS", "REDIR"] # [[module.mounts]] # source = "netlify.toml" # target = "assets/config/netlify.toml" - [[module.imports]] - path = "github.com/gethinode/mod-cookieyes" + # [[module.imports]] + # path = "github.com/gethinode/mod-cookieyes" [[module.imports]] path = "github.com/gethinode/hinode" + [[module.imports]] + path = "github.com/gethinode/mod-flexsearch" + [[module.imports]] + path = "github.com/gethinode/mod-leaflet" [[module.imports]] path = "github.com/gethinode/mod-mermaid" [[module.imports]] diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index 09389f9..86706a0 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -43,6 +43,11 @@ pageRef = "/posts/" weight = 60 +[[main]] + name = "Video" + pageRef = "/video/" + weight = 65 + [[main]] name = "Tags" pageRef = "/tags/" @@ -108,25 +113,31 @@ name = "Legal" pageRef = "/legal/" parent = "Sections" - weight = 20 + weight = 15 [[footer]] name = "Communications" pageRef = "/communication/" parent = "Sections" - weight = 30 + weight = 20 [[footer]] name = "Posts" pageRef = "/posts/" parent = "Sections" - weight = 40 + weight = 25 [[footer]] name = "News" pageRef = "/news/" parent = "Sections" - weight = 50 + weight = 30 + +[[footer]] + name = "Video" + pageRef = "/video/" + parent = "Sections" + weight = 35 # Site Info SubMenu [[footer]] -- cgit v1.2.3