1
Fork 0
mkdocs-site/theme/main.html

27 lines
598 B
HTML
Raw Normal View History

2023-09-08 21:49:57 +01:00
{{ page.content }}
2023-09-08 22:10:52 +01:00
Nav: {{ nav }}
Parent: {{ page.parent }}
Custom parent: {{ get_parent_page(page) }}
2023-09-08 22:10:52 +01:00
Section: {{ page.is_section }}
Is lits page: {{ page|is_list_page }}
Children: {{ page|children }}
2023-09-09 10:56:04 +01:00
{% set tag_1_page = get_page('tags/tag1.md') %}
Found page: {{ tag_1_page }}
2023-09-09 12:05:16 +01:00
URL: {{ get_page_url("tags/tag1.md") }}
2023-09-09 12:05:16 +01:00
Image resized: {{ "./assets/test.jpg"|resize_image(1500) }}
2023-09-13 21:23:43 +01:00
Globals: {{ globals.foo }}
2023-09-15 22:29:43 +01:00
Static path: {% static "assets/pygments.css" %}
SRI: {% sri_integrity "assets/pygments.css" %}
2023-09-25 22:20:55 +01:00
"Latest" list: {{ get_page("list/index.md")|children|sort(attribute="title")|first }}