summaryrefslogtreecommitdiff
path: root/_includes/all-posts.liquid
blob: a681bfbc185da6f79676cb65c75efa4e2c632d99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<aside class="menu">
    <p class="menu-label has-text-centered">
    All Posts 
    </p>

    <ul class="menu-list">
        {% assign posts = collections.posts.pages %}
        {% for post in posts %}
            <li>
                <a href="/{{ post.permalink }}">
                    {% if post.published_date %}
                        <span class="tag">
                            {{ post.published_date | date: "%e %b %Y" }}
                        </span>
                    {% endif %}
                    {{ post.title }}
                </a>
            </li>
        {% endfor %}
    </ul>
</aside>