diff options
author | Nick White <git@njw.name> | 2019-10-10 16:43:39 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-10-10 16:43:39 +0100 |
commit | 1e0f906234334203f2f9077d78e783d52413baa8 (patch) | |
tree | 4af010fb82b656324802326d0e6ad2fc023ca019 | |
parent | b8c876dc86717e5c29bf78a301ae12cf1385b491 (diff) |
Use nicer syntax for sidebar menu
-rw-r--r-- | config.toml | 11 |
1 files 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/"} +] |