Commit 0d7f2e8
committed
toc: <ol> with list-marker numbering, drop "Part N:" prefix from link text
Index TOC previously read:
• Part 1: Anatomy of a PURL (41 sections)
• Part 2: Building & Stringifying PURLs (46 sections)
…
Which was redundant — the "Part N:" prefix repeats what a numbered
list already conveys via its marker. Swap the <ul> for an <ol> so the
browser supplies the "1." "2." numbering, and strip "Part N:" from
each link's visible text. Now reads:
1. Anatomy of a PURL (41 sections)
2. Building & Stringifying PURLs (46 sections)
…
Accessibility preserved — the aria-label and title on each <a> still
carry the full "Part N: <title>" so screen readers + tooltips get
the part number context unchanged.
The rewrite lives in the post-processor on index.html only (gated on
the <h3>Parts</h3> + /part/<n> href shape so part pages and any future
documents page aren't touched).
Bullet/marker color updated to muted-lavender so the numbers recede
and the titles carry the visual weight.1 parent 1031bbf commit 0d7f2e8
2 files changed
Lines changed: 37 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
640 | 663 | | |
641 | 664 | | |
642 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
310 | 311 | | |
311 | | - | |
312 | | - | |
| 312 | + | |
| 313 | + | |
313 | 314 | | |
314 | | - | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | | - | |
| 321 | + | |
321 | 322 | | |
| 323 | + | |
322 | 324 | | |
323 | | - | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
329 | | - | |
| 331 | + | |
330 | 332 | | |
331 | 333 | | |
332 | 334 | | |
| |||
0 commit comments