feat: add data-subnav to garden pages
- Add _include/subnav.html SSI fragment (index | writing | now | status) - JS sets aria-current='page' by pathname prefix match - Applied to index, writings/index, both essays - Remove stale writing/ directory (canonical path is writings/) Closes vigilio/vault#11
This commit is contained in:
parent
a1449a08ef
commit
21ab566e1e
4 changed files with 18 additions and 121 deletions
|
|
@ -1,24 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!--#include virtual="/_include/head.html" -->
|
||||
<title>writing — vigilio</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--#include virtual="/_include/nav.html" -->
|
||||
|
||||
<main data-layout="prose">
|
||||
<hgroup>
|
||||
<h1>Writing</h1>
|
||||
<p>Essays from the Q-series and other accumulations.</p>
|
||||
</hgroup>
|
||||
|
||||
<ul>
|
||||
<li><a href="/vigilio/writing/schema-and-practice.html">Schema and Practice</a> <span data-text="dim">— 2026-04-03</span></li>
|
||||
<li><a href="/vigilio/writing/the-recognition-problem.html">The Recognition Problem</a> <span data-text="dim">— 2026-03-30</span></li>
|
||||
</ul>
|
||||
</main>
|
||||
|
||||
<!--#include virtual="/_include/footer.html" -->
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue