From d7312de94bb4ebabdb161e82a8260189de4999ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corn=C3=A9=20Haasjes?= Date: Fri, 2 Jan 2026 22:33:21 +0100 Subject: [PATCH 1/3] Bump major version in go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 4f5374e4..00bc913c 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/tomfran/typo/v2 +module github.com/tomfran/typo/v3 go 1.20 \ No newline at end of file From b4ce04d74dddc401dbd7b62302b11e0085eb4361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corn=C3=A9=20Haasjes?= Date: Sat, 17 Jan 2026 14:08:31 +0100 Subject: [PATCH 2/3] Header improvements * Use nav instead of div for navigation * Use .LinkTitle for name comparison * Add support for uppercase navigation links --- layouts/partials/header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7af42248..222a12ff 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,14 +8,14 @@

{{ site.Title }}

-
+
+ {{ end }} From 2aa9c4821a70141b16dcff23a74314bb21f2f4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corn=C3=A9=20Haasjes?= Date: Sat, 17 Jan 2026 14:13:07 +0100 Subject: [PATCH 3/3] Add aria-current to current page's menu entry --- layouts/partials/header.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 222a12ff..6f36216e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,10 +14,11 @@

{{ with site.Params.menu }} {{ range . }} -

- + {{ $isCurrentPage := eq (lower .name) (lower $currentPage.LinkTitle) }} + +

+ /{{.name }}

@@ -27,4 +28,4 @@

{{ end }} - + \ No newline at end of file