diff options
| author | a73x <[email protected]> | 2024-12-29 19:13:27 +0000 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-12-30 11:00:49 +0000 |
| commit | a783270b09af3d873c08a01d13f802018b69fb02 (patch) | |
| tree | bdac4e38357afa535515dd8dda790d7193f371d0 /pages | |
| parent | 71513b80ebc21240b5b68d8bbbf8b7ee2f54893e (diff) | |
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
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/pages.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
