{# Keep every section when a reference page has several top-level headings. #} {% macro section_links(sections, depth) -%} {% for section in sections -%}