{%extends "base/page.html"%}
{%load pgmarkdown%}
{%block title%}{{obj.title}}{%endblock%}
{%block contents%}
<h1>{{obj.title}}</h1>
<div class="newsdate">Posted on <strong>{{obj.displaydate}}</strong>{% if obj.org.name != '_migrated' %} by {{ obj.org.name }}{% endif %}</div>
<div class="newstags newsdate">{%for t in obj.tags.all%}
<span class="badge badge-pill badge-secondary"><i class="fa fa-tag"></i> {{t}}</span>
{%endfor%}
</div>

{{obj.content|markdown}}
{%if obj.is_migrated%}
<p><em>This post has been migrated from a previous version of the PostgreSQL
website. We apologise for any formatting issues caused by the migration.</em></p>
{%endif%}
{%endblock%}
