{#- View template - clipboard-friendly output -#}
{#- depth=0 pads separated by ---, children appear under their parent -#}

{% if pads | length == 0 -%}
[empty-message]No pads found.[/empty-message]
{% else -%}
{% for pad in pads -%}
{%- if not loop.first -%}
{%- if pad.depth == 0 %}
---
{% endif -%}
{%- endif -%}
{%- if pad.uuid %}
[info]uuid: {{ pad.uuid }}[/info]
{% endif -%}
{{ pad.title }}

{{ pad.content }}
{% endfor -%}
{% endif %}
