{# ─── 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 %}
{% if page.icon in ("folder","file","star","link","trash","book") %}{{ fd_icon(page.icon,14) }}{% else %}{{ page.icon }}{% endif %}
{{ page.name }}
+
{% if page.has_children %}
{% for child in page.children %} {{ render_tree_item(child, depth + 1) }} {% endfor %}
{% endif %} {% endmacro %} {% from '_icons.html' import fd_icon %}
{% block topbar %} {% include '_header.html' %} {% endblock %}
{% block content %}{% endblock %}
Database
⭐
👁️
Remove from Recents
🔗
Copy link
📋
Duplicate
▶
{{ fd_icon("edit",14) }}
Rename
Ctrl+Shift+R
↗️
Move to
Ctrl+Shift+P
{{ fd_icon("trash",14) }}
Move to Trash
🔲
Open in new tab
Ctrl+Shift+O
📑
Open in side peek
Alt+Click
Last edited by
❓
Learn about databases
{{ fd_icon("file",14) }}
New File
{{ fd_icon("folder",14) }}
New Folder
{{ fd_icon("edit",14) }}
Rename
{{ fd_icon("trash",14) }}
Delete
Détail
×
{% block scripts %}{% endblock %}
{{ fd_icon("folder",16) }} New Folder
×
Enter a name for the new folder.