Sha256: 8373bd93a4ec0d9cc14aa12e11e6e1210f19f9190f042d4d086f4c02a4f16d51

Contents?: true

Size: 930 Bytes

Versions: 7

Compression:

Stored size: 930 Bytes

Contents

---
layout: default
title: "Post Archives"
---
{% include components/binds/sidebar-anchor.html %}


<main>
    {% if page.type == "year" %}
        <h1>Posts from {{ page.date | date: "%Y" }}</h1>
    {% endif %}
    {% if page.type == "month" %}
        <h1>Posts from {{ page.date | date: "%-d, %Y" }}</h1>
    {% endif %}
    {% if page.type == "day" %}
        <h1>Posts from {{ page.date | date: "%b %-d, %Y" }}</h1>
    {% endif %}
    {% if page.type == "tag" or page.type == "category" %}
        <h1>Posts with {{ page.type }} '{{ page.title }}'</h1>
    {% endif %}

    <ul class="posts">
        {% for post in page.posts %}
            <li>
                <span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
                <span>-</span>
                <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
            </li>
        {% endfor %}
    </ul>
</main>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picklecore-0.17.0 _layouts/archive.html
picklecore-0.16.5 _layouts/archive.html
picklecore-0.16.4 _layouts/archive.html
picklecore-0.16.3 _layouts/archive.html
picklecore-0.16.2 _layouts/archive.html
picklecore-0.16.1 _layouts/archive.html
picklecore-0.16.0 _layouts/archive.html