1
Fork 0
mkdocs-site/theme/main.html
2023-09-25 22:20:55 +01:00

26 lines
598 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 }}
Static path: {% static "assets/pygments.css" %}
SRI: {% sri_integrity "assets/pygments.css" %}
"Latest" list: {{ get_page("list/index.md")|children|sort(attribute="title")|first }}