summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/_default/_markup/render-heading.html
AgeCommit message (Collapse)AuthorFilesLines
2026-04-18feat: add // prefix to H2–H6 headings in proseDanilo M.1-0/+5
Render all heading levels 2–6 with a terminal-style `// ` prefix in JetBrains Mono. H1 (page/article titles) is excluded. The prefix is aria-hidden for A11y compliance (WCAG 2.1 AA — heading text contrast 14.72:1, prefix is decorative and exempt from contrast requirements). Implementation: - New Hugo render-heading hook at _default/_markup/render-heading.html - Added .heading-prefix CSS rule with accent purple color, 0.8em font size, 0.7 opacity - CSS rebuil with npm run build Applies site-wide to all markdown prose content (articles, singles, pages). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>