1

Fix footer on old posts

This commit is contained in:
Evan Pratten 2020-09-11 11:42:39 -04:00
parent 963fd38bcb
commit 733d6c8e25
No known key found for this signature in database
GPG Key ID: 93AC7B3D071356D3

View File

@ -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>