From fec01bddc019e7886b013ce4c71e0da845ba3ebb Mon Sep 17 00:00:00 2001 From: Frank Homburg Date: Fri, 29 Apr 2022 16:06:17 +0200 Subject: [PATCH] code cleanup --- config.toml | 2 +- layouts/_default/baseof.html | 2 +- layouts/partials/nav.html | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config.toml b/config.toml index ed30522..4ce1cf8 100644 --- a/config.toml +++ b/config.toml @@ -14,7 +14,7 @@ enableRobotsTXT = true [menu] [[menu.main]] - name = "FAQ" + name = "| FAQ |" url = "/faq/" weight = 10 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fb3eba5..fcac123 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ - + {{- .Title | default .Site.Title -}} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 3561455..ebcf50a 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,5 +1,4 @@ - +Home +{{ range .Site.Menus.main }} +{{ .Name }} +{{ end }}