diff options
author | Alex Scerba <alex@scerba.org> | 2024-10-27 17:42:53 -0400 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2024-10-27 17:42:53 -0400 |
commit | 552c8f0c4d7a40394eb2a76694982788798b04f7 (patch) | |
tree | 92fb832689f37a1d3f2f530a6e1432b09762ed01 /html | |
parent | 6baa0d760190dcc7478677d4f5b7b5dcea684168 (diff) |
Add in-page nav for blog sections.
Diffstat (limited to 'html')
-rw-r--r-- | html/blog.tmpl.html | 12 |
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">></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>
|