1
Fork 0
mkdocs-site/theme/main.html
Jake Howard 495f64c10e
Correctly find parent for single-child sections
More like pages with associated files, really
2023-09-15 18:19:06 +01:00

21 lines
415 B
HTML

{{ page.content }}
Nav: {{ nav }}
Parent: {{ page.parent }}
Custom parent: {{ get_parent_page(page) }}
Section: {{ page.is_section }}
Is lits page: {{ page|is_list_page }}
Children: {{ page|children }}
{% set tag_1_page = get_page('tags/tag1.md') %}
Found page: {{ tag_1_page }}
URL: {{ get_page_url("tags/tag1.md") }}
Image resized: {{ "./assets/test.jpg"|resize_image(1500) }}
Globals: {{ globals.foo }}