From b0222685bb10738d8eafc523ba9885c355c8f505 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 13 May 2023 15:32:42 -0700 Subject: [PATCH] Add nested menus --- README.md | 27 +++++++++++++++++++++++++++ layouts/partials/paige/menu.html | 23 ++++++++++++++++++++--- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b68b6c0..5394eda8 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,33 @@ name = "Blog" url = "/blog/" weight = 20 +[[languages.en.menu.main]] +identifier = "life" +name = "Life" +parent = "blog" +url = "/blog/life/" +weight = 10 + +[[languages.en.menu.main]] +identifier = "work" +name = "Work" +parent = "blog" +url = "/blog/work/" +weight = 20 + +[languages.en.menu.main.params.paige] +divider_below = true + +[[languages.en.menu.main]] +identifier = "interests" +name = "Interests" +parent = "blog" +url = "/blog/interests/" +weight = 30 + +[languages.en.menu.main.params.paige] +disabled = true + [[languages.en.menu.main]] identifier = "tags" name = "Tags" diff --git a/layouts/partials/paige/menu.html b/layouts/partials/paige/menu.html index a8f4494c..13becdfc 100644 --- a/layouts/partials/paige/menu.html +++ b/layouts/partials/paige/menu.html @@ -33,7 +33,7 @@ {{ end }}