From 13d9b3842ebf98abda1c4fd5d4674fae3cf69b37 Mon Sep 17 00:00:00 2001 From: Max Jonas Werner Date: Mon, 23 May 2022 14:52:36 +0200 Subject: [PATCH] mark nav item as active for sub-pages When navigating to e.g. a single blog page, the nav item this page is in is now marked as active so users know in which area of the site they are navigating at the moment. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index cc63659..1ca0a82 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -108,7 +108,7 @@
  • - + {{- .Pre }} {{- .Name -}} {{ .Post -}}