{{ define "main" }}
<h2>{{ .Title }}</h2>
<div class="post-subscript">
    <p>Posted on {{ .Date.Format "January 2, 2006" }}.</p>
    <p>Tags:
        {{ range .Params.tags }}
        <a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
        {{ end }}
    </p>
</div>

<div class="post-content">
    {{ .Content }}
</div>
{{ end }}
