Nekrocuck

This commit is contained in:
2025-09-28 12:59:09 +02:00
commit a2d093954d
402 changed files with 13763 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{% macro catalog_entry(post, index, page_size) %}
<div class="box catalog-entry">
<input name="posts[]" type="checkbox" value="{{ post.board }}/{{ post.id }}">&#32;
<b>/{{ post.board }}/{{ post.id }}</b>
{% if let Some(file) = post.files.0.get(0) %}
<a href="{{ post.post_url_notarget() }}">
<img class="thumb" src="{{ file.thumb_url() }}">
</a>
{% else %}
<p><b><a href="{{ post.post_url_notarget() }}">[Link]</a></b></p>
{% endif %}
<b>
<span>R: {{ post.replies }} / P: {{ index|get_page(page_size) }}</span>&#32;
{% if post.sticky %}
<img class="icon" src="/static/icons/sticky.png">&#32;
{% endif %}
{% if post.locked %}
<img class="icon" src="/static/icons/locked.png">&#32;
{% endif %}
</b>
<div class="post-content">{{ post.content|add_yous(post.board, tcx.yous)|safe }}</div>
</div>
{% endmacro %}