From 91a2b975cb6df3d45c9a3af0f690017e3725cc18 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 9 Feb 2017 16:32:04 +0100 Subject: dynamic section-based menu --- config.toml | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) (limited to 'config.toml') diff --git a/config.toml b/config.toml index eb27b44..d8d0f65 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,7 @@ title = "Andreas Baumann's Personal Home Page" theme = "new_theme" disableRss = true enableRobotsTXT = true +SectionPagesMenu = "main" [Params] author = "Andreas Baumann" @@ -12,10 +13,52 @@ enableRobotsTXT = true subtitle = "Personal Home Page" location = "Zurich" copyright_years = "2009 - 2017" + opengraph = true [Params.widgets] search = true recent_articles = true categories = true tags = true - + +[[menu.main]] + name = "Home" + weight = 30 + identifier = "home" + url = "/" + +[[menu.main]] + name = "Software" + weight = 40 + identifier = "software" + url = "/software" + +[[menu.main]] + name = "Toolbox" + weight = 50 + identifier = "toolbox" + url = "/toolbox" + +[[menu.main]] + name = "Git" + weight = 60 + identifier = "git" + url = "/git" + +[[menu.main]] + name = "Slides" + weight = 70 + identifier = "slide" + url = "/slide" + +[[menu.main]] + name = "Blog" + weight = 80 + identifier = "blog" + url = "/blog" + +[[menu.main]] + name = "Contact" + weight = 90 + identifier = "contact" + url = "/contact" -- cgit v1.2.3-54-g00ecf