Fix footer on old posts
This commit is contained in:
parent
963fd38bcb
commit
733d6c8e25
@ -63,7 +63,7 @@
|
||||
<div class="card-group">
|
||||
{% assign i = 0 %}
|
||||
{% for post in site.posts %}
|
||||
{% if i < 4 and post.title != page.title %}
|
||||
{% if i < 3 and post.title != page.title %}
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{post.title}}</h5>
|
||||
@ -75,8 +75,8 @@
|
||||
<a href="{{post.url}}"><button class="btn btn-outline-primary btn-sm" style="float:right;">Read Post</button></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% assign i = i | plus:1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user