{%- import "partials/macros.html" as m with context -%} {%- set sumi = sumi if sumi is defined else {} -%} {%- set theme = config.theme -%} {%- set hide = (page.meta.hide if page and page.meta and page.meta.hide else []) + (theme.hide or []) -%} {%- set layout = page.meta.layout if page and page.meta and page.meta.layout else 'docs' -%} {%- set has_sections = nav.items | selectattr('is_section') | list | length > 0 -%} {%- set tabs_on = theme.navigation_tabs and has_sections -%} {%- set active_top = nav.items | selectattr('active') | first -%} {%- if tabs_on -%} {%- set side_items = active_top.children if active_top and active_top.is_section else [] -%} {%- else -%} {%- set side_items = nav.items -%} {%- endif -%} {%- if 'sidebar' in hide or 'navigation' in hide or layout in ('wide', 'landing', 'blog') -%}{%- set side_items = [] -%}{%- endif -%} {%- set toc_list = page.toc.items if page and page.toc else [] -%} {%- if toc_list | length == 1 and toc_list[0].level == 1 -%}{%- set toc_list = toc_list[0].children -%}{%- endif -%} {%- set show_toc = toc_list | length > 0 and 'toc' not in hide and layout not in ('wide', 'landing', 'blog') -%}
{%- block site_meta %} {%- if page and page.meta and page.meta.description %} {%- elif config.site_description %}{% endif %} {%- if config.site_author %}{% endif %} {%- if page and page.canonical_url %}{% endif %} {%- if page and page.previous_page %}{% endif %} {%- if page and page.next_page %}{% endif %} {%- if sumi.markdown_url %}{% endif %} {%- if sumi.llms_txt %}{% endif %} {%- if sumi.feed_url %}{% endif %} {%- if page and page.title %} {%- if page.canonical_url %}{% endif %} {%- endif %} {%- endblock %} {%- block htmltitle %}