{# Table of Contents Widget — client-side Alpine.js heading scanner with scroll spy #} {# Only renders on Articles/Notes with 3+ headings (h2-h4) #} {% if title or (not (bookmarkOf or bookmark_of or likeOf or like_of or repostOf or repost_of)) %}