husk/templates/links.html

11 lines
280 B
HTML
Raw Permalink Normal View History

2022-09-02 09:05:59 +02:00
<title>Path: {{ tree.name }}</title>
<h1>{{ tree.name }}</h1>
<ul>
{%- for item in tree.children recursive %}
<li>{{ item.name }}
{%- if item.children -%}
<ul><a href='{{ loop(item.children) }}'>{{ loop(item.children) }}</ul>
{%- endif %}</li>
{%- endfor %}
</ul>