We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edbee97 commit 04e91a3Copy full SHA for 04e91a3
1 file changed
templates/v3/includes/_post_card.html
@@ -27,6 +27,7 @@
27
{% if items %}
28
<ul class="card-group__list">
29
{% for item in items %}
30
+ {% if layout != "horizontal" or forloop.counter0 < 3 %}
31
<li class="card-group__item">
32
{% if item.title or item.url or item.date or item.category or item.tag %}
33
<article class="post-card">
@@ -52,6 +53,7 @@ <h3 class="post-card__title">{{ item.title }}</h3>
52
53
</article>
54
{% endif %}
55
</li>
56
+ {% endif %}
57
{% endfor %}
58
</ul>
59
0 commit comments