Add cardview to search results too
This commit is contained in:
parent
d19e73f059
commit
45660816ce
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
{% if post.flags.nsfw && prefs.hide_nsfw == "on" %}
|
{% if post.flags.nsfw && prefs.hide_nsfw == "on" %}
|
||||||
{% else if post.title != "Comment" %}
|
{% else if post.title != "Comment" %}
|
||||||
<div class="post">
|
<div class="post {% if prefs.layout == "card" && post.post_type == "image" %}card_post{% endif %}">
|
||||||
<div class="post_left">
|
<div class="post_left">
|
||||||
<p class="post_score">{{ post.score }}</p>
|
<p class="post_score">{{ post.score }}</p>
|
||||||
{% if post.flags.nsfw %}<div class="nsfw">NSFW</div>{% endif %}
|
{% if post.flags.nsfw %}<div class="nsfw">NSFW</div>{% endif %}
|
||||||
@ -63,7 +63,6 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- POST THUMBNAIL -->
|
|
||||||
<!-- POST MEDIA/THUMBNAIL -->
|
<!-- POST MEDIA/THUMBNAIL -->
|
||||||
{% if prefs.layout == "card" && post.post_type == "image" %}
|
{% if prefs.layout == "card" && post.post_type == "image" %}
|
||||||
<img class="post_media" src="{{ post.media }}"/>
|
<img class="post_media" src="{{ post.media }}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user