2016-06-05 21:20:06 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% load commonmark %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div>
|
2016-06-10 18:21:32 +00:00
|
|
|
{% if draft %}
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong>This news item is not yet public.</strong> It will become public at {{ news_item.published_at|date:'Y-m-d H:i' }}.
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-06-05 21:20:06 +00:00
|
|
|
<h3>{{ news_item.title }} <small>{{ news_item.published_at|date:"Y-m-d" }}</small></h3>
|
|
|
|
</div>
|
|
|
|
{{ news_item.content|commonmark }}
|
|
|
|
{% endblock %}
|