From bca64259827edb25a19c4b910ab28907b0b29d93 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 19 Sep 2022 10:51:12 -0700 Subject: menu-draft-check --- config.toml | 8 ++++---- content/pages/about.md | 1 + templates/base.html | 18 +++++++++++++++++- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/config.toml b/config.toml index 48ff03b..5b24c3c 100644 --- a/config.toml +++ b/config.toml @@ -69,15 +69,15 @@ headhr = false # show or hide horizontal rule below header foothr = true # show or hide horizontal rule above footer menu = [ - {url = "/about/", name = "About", slash = true, blank = false}, + {url = "/about/", name = "About", slash = true, blank = false, md = "pages/about.md"}, {url = "/posts/", name = "Posts", slash = true, blank = false}, {url = "/categories/", name = "Categories", slash = true, blank = false}, {url = "/tags/", name = "Tags", slash = true, blank = false}, ] menu_footer = [ - {url = "/about/", name = "About", slash = true, blank = false}, - {url = "/contact/", name = "Contact", slash = true, blank = false}, - {url = "/privacy/", name = "Privacy", slash = true, blank = false}, + {url = "/about/", name = "About", slash = true, blank = false, md = "pages/about.md"}, + {url = "/contact/", name = "Contact", slash = true, blank = false, md = "pages/contact.md"}, + {url = "/privacy/", name = "Privacy", slash = true, blank = false, md = "pages/privacy.md"}, {url = "/sitemap.xml", name = "Sitemap", slash = false, blank = true}, ] diff --git a/content/pages/about.md b/content/pages/about.md index 9166981..a9c9368 100644 --- a/content/pages/about.md +++ b/content/pages/about.md @@ -1,6 +1,7 @@ +++ title = "About" path = "about" +draft = false template = "pages.html" +++ diff --git a/templates/base.html b/templates/base.html index 0177ea1..a250d2d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -52,8 +52,24 @@