{% set justdocs = config.extra.justdocs if config.extra and config.extra.justdocs else {} %} {% set justdocs_layout = justdocs.layout if justdocs.layout else {} %} {% set justdocs_breakpoints = justdocs_layout.breakpoints if justdocs_layout.breakpoints else {} %} {% set justdocs_sidebars = justdocs_layout.sidebars if justdocs_layout.sidebars else {} %} {% set justdocs_left_sidebar = justdocs_sidebars.left if justdocs_sidebars and justdocs_sidebars.left else {} %} {% set justdocs_right_sidebar = justdocs_sidebars.right if justdocs_sidebars and justdocs_sidebars.right else {} %} {% set justdocs_palette = justdocs.palette if justdocs.palette else {} %} {% set justdocs_palette_light = justdocs_palette.light if justdocs_palette.light else {} %} {% set justdocs_palette_dark = justdocs_palette.dark if justdocs_palette.dark else {} %} {% set justdocs_typography = justdocs.typography if justdocs.typography else {} %} {% set justdocs_shape = justdocs.shape if justdocs.shape else {} %} {% set justdocs_search = justdocs.search if justdocs.search else {} %} {% set justdocs_preferences = justdocs.preferences if justdocs.preferences else {} %} {% set justdocs_features = justdocs.features if justdocs.features else {} %} {% set justdocs_sidebars_enabled = justdocs_features.sidebars is not sameas false %} {% set justdocs_preferences_enabled = justdocs_preferences.enabled is not sameas false and justdocs_features.preferences is not sameas false %} {% set justdocs_search_enabled = justdocs_features.search is not sameas false %} {% set justdocs_theme_toggle_enabled = justdocs_features.theme_toggle is not sameas false %} {% set justdocs_code_copy_enabled = justdocs_features.code_copy is not sameas false %} {% set justdocs_mermaid_enabled = justdocs_features.mermaid is not sameas false %} {% set justdocs_navigation_scroll_enabled = justdocs_features.navigation_scroll is not sameas false %} {% set justdocs_table_labels_enabled = justdocs_features.table_labels is not sameas false %} {% set site_title = justdocs.title or config.site_name %} {% set favicon = justdocs.favicon or "M" %} {% set current_page = nav.current if nav.current is defined else none %} {% set document_title = page.title if page is defined and page.title is defined else config.site_name %} {% set page_label = current_page.title if current_page else document_title %} {% macro render_nav_items(items) %}