13 / 16
  • Left sidebar (build_post_tree):
    • Recursive folder tree with chevron indicators
    • Folders: Blue folder icon, clickable summary, nested <ul> with border
    • Files: Gray file-text icon, HTMX-enhanced links with data-path attribute
    • Cached via @lru_cache based on max modification time fingerprint
    • Lazy loaded via /_sidebar/posts endpoint with loading spinner placeholder
  • Right sidebar (extract_toc):
    • Parses headings from markdown (excludes code blocks)
    • Generates anchor slugs matching heading IDs
    • Indentation based on heading level (ml-{(level-1)*3})
    • Active tracking based on scroll position