seitime-frappe/frappe/templates/includes/full_index.html
Rushabh Mehta c519122929 [docs] Build docs in an app (#3796)
* [docs] to be rendered in website

* [docs] generating-docs.md

* [fix] codacy

* [docs] minor updates

* [fix] routing
2017-07-28 11:43:16 +05:30

16 lines
409 B
HTML

{% macro make_item_list(route, children_map) %}
<ol>
{% for item in children_map[route] %}
<li>
<a href="{{ url_prefix }}{{ item.route }}">{{ item.title }}</a>
{#
{% if children_map[item.route] %}
{{ make_item_list(item.route, children_map) }}
{% endif %}
#}
</li>
{% endfor %}
</ol>
{% endmacro %}
{{ make_item_list(route, full_index) }}