From a783270b09af3d873c08a01d13f802018b69fb02 Mon Sep 17 00:00:00 2001 From: a73x Date: Sun, 29 Dec 2024 19:13:27 +0000 Subject: new markdown renderer since TOC has a title now and it can compact toc headers, we can use header 2 for everything use the built in goldmark extension for syntax highlighting --- pages/pages.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pages') diff --git a/pages/pages.go b/pages/pages.go index 8d789b3..542491b 100644 --- a/pages/pages.go +++ b/pages/pages.go @@ -128,9 +128,9 @@ func sortNavBar(nav []Navigation) { // see no evil, speak no evil sort.Slice(nav, func(i, j int) bool { order := map[string]int{ - "home": 1, - "posts": 2, - "about": 3, + "Home": 1, + "Posts": 2, + "Ethos": 3, } // Get the order value, default to a high number if not in the predefined order -- cgit v1.2.3