From 733c95b5a78750191bca94e1b536e15a76fb7294 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Sun, 28 Jan 2024 23:18:33 +0100 Subject: [PATCH] fix: don't render menu on home page The home page context is quite different from regular pages and sections, so rendering the menu doesn't seem necessary. All the relevant navigation is available in the main ui. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- layouts/partials/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 62d21834ec..6dc7ddbaea 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,7 @@
+ {{ if not .IsHome }} + {{ end }}
{{/* main logo */}}