summaryrefslogblamecommitdiff
path: root/_includes/posts-recent.liquid
blob: 8aae60670fc11f7a0c993541b34e6944f8c19687 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                               
<div class="columns is-centered is-multiline">
    <p class="menu-label has-text-centered">
    Recent Posts
    </p>

    <!-- Basically limit length of posts array to the max number of recent
    posts to include. To start with all posts are shown since it isn't really a
    performance concern. -->
    {% assign posts = collections.posts.pages %}
    {% for post in posts %}
        <div class="column is-full">
            {% include post-card.liquid %}
        </div>
    {% endfor %}
</div>