mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-31 11:52:19 +00:00
Card thumbnails for users
This commit is contained in:
parent
48d2943f72
commit
7a33ed3434
2 changed files with 6 additions and 4 deletions
|
@ -31,7 +31,7 @@
|
|||
<div id="posts">
|
||||
{% for post in posts %}
|
||||
{% if !(post.flags.nsfw && prefs.hide_nsfw == "on") %}
|
||||
<div class="post {% if post.flags.stickied %}stickied{% endif %} {% if prefs.layout == "card" && post.post_type == "image" %} card_post {% endif %}">
|
||||
<div class="post {% if post.flags.stickied %}stickied{% endif %} {% if prefs.layout == "card" && post.post_type == "image" %}card_post{% endif %}">
|
||||
<div class="post_left">
|
||||
<p class="post_score">{{ post.score }}</p>
|
||||
{% if post.flags.nsfw %}<div class="nsfw">NSFW</div>{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue