{%- set _theme_mode_default = theme_default_theme_mode|default('auto', true) -%}
{%- set _tab_icon = theme_tab_bar_icon|default('sherullah.png', true) -%}
{%- set _icon_href = pathto('_static/' ~ _tab_icon, 1) -%}
{%- set _show_topbar = theme_show_topbar|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _show_tab_bar = theme_show_tab_bar|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _show_prev_next = theme_show_prev_next|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _show_toc = theme_show_toc|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _show_search = theme_show_search|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _show_fullscreen = theme_show_fullscreen_button|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _show_theme_toggle = theme_show_theme_toggle|default('true', true)|string|lower not in ['false', '0', 'no'] -%}
{%- set _has_right_toc = _show_toc and display_toc and toc and ('
{{ metatags }}