From 1e0f906234334203f2f9077d78e783d52413baa8 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 10 Oct 2019 16:43:39 +0100 Subject: Use nicer syntax for sidebar menu --- config.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index 000897d..76a7757 100644 --- a/config.toml +++ b/config.toml @@ -8,9 +8,8 @@ description = "Historical OCR, and all things around it" themeColor = "theme-rescribe" copyright = "Licensed under the Creative Commons Attribution-ShareAlike 3.0 license." -[[menu.main]] - name = "Archive" - url = "/posts/" -[[menu.main]] - name = "Categories" - url = "/categories/" +[menu] +main = [ + {name = "Archive", url = "/posts/"}, + {name = "Categories", url = "/categories/"} +] -- cgit v1.2.1-24-ge1ad