{% extends "base.html" %}

{% block breadcrumbs %}
<a href="/">~Perfectly Sane</a>
{% endblock breadcrumbs %}

{% block content %}
{% set blog = get_section(path="blog/_index.md") %}
<span class="listing">
    <ul>
        {% for page in blog.pages %}
            {% if page.date %}
                <li>
                    <div class="title">
                        <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
                    </div>
                    <div class="subtitle">{{ page.description }}
                        <span class="date">({{ page.date | date(format="%Y/%m/%d") }})</span>
                    </div>
                </li>
            {% endif %}
        {% endfor %}
    </ul>
</span>
{% endblock content %}
