BlogNav: vollständige About-Subtree mit korrekter off-Logik
Statischer About-Seitenbaum aus Hugo content/about/-Struktur:
/about.html → /contact.html, /impressum.html (mit 5 Unterseiten), /agb.html
aboutPageOff() implementiert Hugo tree.html-Logik:
sichtbar wenn isCurrent || isAncestor || isSibling(nicht section-index) || isChild
Korrekturen gegenüber Vorgängerversion:
- onAboutSection (inSubtree) statt onAbout (nur /about.html)
→ activeSection 'about' auch auf Impressum/Datenschutz
→ blogSectionOff = onAboutSection (Blog versteckt auf allen About-Seiten)
- About-Link zeigt selected auf allen About-Section-Seiten
- About-li hat jetzt class 'sub' (hat Kinder)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>