Source

n0v4pl4n3t / app / templates / article_show.html

Full commit
{% extends "base.html" %}

{% block content %}
<div class=article>
  {% if is_admin %}
  <p class=admin>{% if not article.published %}<a href="/article/publish/{{article.key()}}">[publish]</a>{% endif %}
    {% if not article.pinned %}<a href="/article/pin/{{article.key()}}">[pin]</a>{% endif %}
    <a href="/article/edit/{{article.key()}}">[edit]</a>
    </p>{% endif %}
    <h1>{{article.title}}</h1>
    <p class=date>{{article.creation|friendly_time}}</p>
    {% if article.has_tags() %}
    {{ article.partial_tags_html()|safe }}
    {% endif %}
    <div class=content>
    {{article.content|safe}}
    </div>
</div>
{% endblock %}