{% extends "base.html" %}

{% load wagtailcore_tags wagtailimages_tags custom_tags %}

{% block body_class %}helvetica{% endblock %}

{% block content %}
  {% include 'header.html' %}
  <article class="ph3 ph3-ns center mw8 lh-copy">
  <h1>{{ page.title }}</h1>
  <p class="meta">{{ page.date }}</p>
    {% if page.tags.all.count %}
      <div class="dib">
        {% for tag in page.tags.all %}
        <a href="{% slugurl 'tags' %}?tag={{ tag }}" class="f6 link dim br1 ph3 pv2 mb2 dib white bg-black">{{ tag }}</a>
      {% endfor %}
      </div>
    {% endif %}

  {{ page.body|richtext }}
  </article>
  {% show_comments %}
{% endblock %}