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:
Vigilio Desto 2026-04-04 02:06:16 +00:00
parent a1449a08ef
commit 21ab566e1e
Signed by: Vigo
GPG key ID: 159D6AD58C8E55E9
4 changed files with 18 additions and 121 deletions

View file

@ -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>