{#- Full pad view template -#}
{#- Shows complete pad content with index, title, and body -#}

{% if pads | length == 0 -%}
[empty-message]No pads found.[/empty-message]
{% else -%}
{% for pad in pads -%}

{#- Separator between pads (not before first) -#}
{%- if not loop.first %}

[separator] [/separator]

{% endif -%}

{#- Render header: index + title -#}
{%- if pad.is_pinned -%}
[pinned]{{ pad.index }}[/pinned] [title]{{ pad.title }}[/title]
{%- elif pad.is_deleted -%}
[deleted-index]{{ pad.index }}[/deleted-index] [deleted-title]{{ pad.title }}[/deleted-title]
{%- else -%}
[list-index]{{ pad.index }}[/list-index] [title]{{ pad.title }}[/title]
{%- endif %}

{%- if pad.is_deleted -%}
[deleted-title]{{ pad.content }}[/deleted-title]
{%- else -%}
[list-title]{{ pad.content }}[/list-title]
{%- endif -%}
{%- endfor %}
{% endif %}
