{% extends "base.html" %} {% block title %}Pinned โ€” 4ch-archive{% endblock %} {% block boardtitle %}
๐Ÿ“Œ Pinned
{% endblock %} {% block body %} {% set media_only = pins_view == 'media' %} {% if media_only %} {% if files %}
{% for f in files %}
{% if f.media_url %} {% if f.thumb_url %} {% elif f.media_kind == "image" and f.media_url %} {% else %} {{ f.ext or "file" }} {% endif %} {% else %}
{{ f.ext or "file" }}
{% endif %}
{% if f.ref %}/{{ f.ref.board }}/ No.{{ f.ref.post_no }}{% else %}{{ f.ext or "file" }}{% endif %} {% if f.fsize %} ยท {% if f.fsize >= 1048576 %}{{ (f.fsize/1048576)|round(2) }} MB{% else %}{{ (f.fsize/1024)|round(0)|int }} KB{% endif %}{% endif %}
{% endfor %}
{% else %}

No pinned media yet. Use ๐Ÿ’พ in the media viewer to pin media.

{% endif %} {% else %}

Pinned targets are kept forever โ€” they survive 4chan's 404 and the retention GC never purges them or their bytes. ๐Ÿ“Œ a whole thread, ๐Ÿ“ a single post (its thread is kept as a shell to hold it), or ๐Ÿ’พ a file's bytes.

{% if not threads and not posts and not files %}

Nothing pinned yet. Hit ๐Ÿ“Œ / ๐Ÿ“ / ๐Ÿ’พ anywhere to keep something.

{% endif %} {% if threads %}

๐Ÿ“Œ Threads

{% for t in threads %}
{% if t.thumb_url %}{% endif %} /{{ t.board }}/ ยท R:{{ t.reply_count or 0 }} / I:{{ t.image_count or 0 }} {% if t.is_404 %}kept past 404{% endif %} pinned {{ t.pinned_at_fmt }} {% if t.subject %}{{ t.subject }}{% endif %} {{ (t.op_text or "")[:220] }}{% if t.op_text and t.op_text|length > 220 %}โ€ฆ{% endif %}
{% endfor %}
{% endif %} {% if posts %}

๐Ÿ“ Posts

{% for p in posts %}
{% if p.thumb_url %}{% endif %} /{{ p.board }}/ ยท No.{{ p.post_no }}{% if p.is_op %} (OP){% endif %} {% if p.is_404 %}kept past 404{% endif %} pinned {{ p.pinned_at_fmt }} {{ (p.op_text or "")[:220] }}{% if p.op_text and p.op_text|length > 220 %}โ€ฆ{% endif %}
{% endfor %}
{% endif %} {% if files %}

๐Ÿ’พ Files

{% for f in files %}
{% if f.thumb_url %}{% endif %} {{ f.ext or "file" }}{% if f.fsize %} ยท {% if f.fsize >= 1048576 %}{{ (f.fsize/1048576)|round(2) }} MB{% else %}{{ (f.fsize/1024)|round(0)|int }} KB{% endif %}{% endif %} pinned {{ f.pinned_at_fmt }} md5 {{ f.file_md5_hex[:16] }}โ€ฆ
{% endfor %}
{% endif %} {% endif %} {% endblock %}