---
layout: base.njk
---

<main class="page--entry box pad">
  <header>
    <h1>{{ title }}</h1>
    <p>
      {% if author %}
        {{ author }} |
      {% elif meta.author %}
        {{ meta.author }} |
      {% endif %}
      <time datetime="{{ page.date }}" title="{{ page.date }}">{{ page.date | formatDateRel }}</time>
      {% if categories %}
        <em>in</em>
        {% for cat in categories %}
          <span class="category category--{{ cat }}">{{ cat }}</span>
        {% endfor %}
      {% endif %}
    </p>
  </header>
  {{ content | safe }}
  <aside>
    {% if lastmod %}
      <p>
        <strong>Last modified</strong>
        <time datetime="{{ lastmod | formatDate('yyyy-MM-dd') }}">{{ lastmod | formatDate("yyyy-MM-dd") }}</time>
      </p>
    {% endif %}
    {% if tags %}
      <p>
        <strong>Tags</strong>
        <ul>
          {% for tag in tags %}
            <li>{{ tag }}</li>
          {% endfor %}
        </ul>
      </p>
    {% endif %}
  </aside>
</main>