aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorAlex Scerba <alex@scerba.org>2024-10-27 17:42:53 -0400
committerAlex Scerba <alex@scerba.org>2024-10-27 17:42:53 -0400
commit552c8f0c4d7a40394eb2a76694982788798b04f7 (patch)
tree92fb832689f37a1d3f2f530a6e1432b09762ed01 /html
parent6baa0d760190dcc7478677d4f5b7b5dcea684168 (diff)
Add in-page nav for blog sections.
Diffstat (limited to 'html')
-rw-r--r--html/blog.tmpl.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/html/blog.tmpl.html b/html/blog.tmpl.html
index 0f36f63..2e586dc 100644
--- a/html/blog.tmpl.html
+++ b/html/blog.tmpl.html
@@ -3,6 +3,18 @@
{{ define "keywords" }}blog{{end}}
{{ define "main" }}
+ <div>
+ <input type="checkbox" class="side-toggler">
+ <span class="carrot">&gt;</span>
+ <div class="in-page-nav-group">
+ <h2 id="pgnv">Page Navigation</h2>
+ <nav class="in-page-nav" aria-labelledby="pgnv">
+ <a href="/blog#">Blog</a>
+ <a href="/blog#archive">Archive</a>
+ <a href="/blog#extended-archive">Extended Archive</a>
+ </nav>
+ </div>
+ </div>
<section>
<div class="main-bg">
<h1>Blog</h1>