{# ─── Recursive tree macro ─── #} {% macro render_tree_item(page, depth=0) %} {% set indent_px = depth * 16 %}
{# Toggle chevron — only visible for items with children #} {% if page.has_children %}
▶
{% else %}
{% endif %}
{{ page.icon }}
{{ page.name }}
📚
+
{% if page.has_children %}
{% for child in page.children %} {{ render_tree_item(child, depth + 1) }} {% endfor %}
{% endif %} {% endmacro %}
/
🔒
Private
▾
Edited
🔔
🕒
🔍
🔗 Share ▾
⭐
New ▾
📄
Empty page
📊
Database
📋
Kanban board
{% block content %}{% endblock %}
Database
⭐
Remove from Favorites
👁️
Remove from Recents
🔗
Copy link
📋
Duplicate
▶
✏️
Rename
Ctrl+Shift+R
↗️
Move to
Ctrl+Shift+P
🗑️
Move to Trash
🔲
Open in new tab
Ctrl+Shift+O
📑
Open in side peek
Alt+Click
Last edited by
❓
Learn about databases
Détail
×
{% block scripts %}{% endblock %}