{{-- Table of contents partial. Expects $post array with 'toc' key: [['level' => 2, 'text' => '...', 'id' => 'slug'], ...] Renders sticky sidebar TOC. Active section highlighted in orange via IntersectionObserver. Top reading-progress bar tracks scroll through article. --}} @php $toc = $post['toc'] ?? []; @endphp @if(!empty($toc)) {{-- Top reading progress bar --}} @endif