Sith/core/templates/core/page_detail.jinja

18 lines
470 B
Plaintext
Raw Normal View History

2016-02-01 16:35:55 +00:00
{% extends "core/page.jinja" %}
{% block page %}
2016-07-19 17:03:16 +00:00
{% if rev %}
<h4>{% trans rev_id=rev.id %}This may not be the last update, you are seeing revision {{ rev_id }}!{% endtrans %}</h4>
<h3>{{ rev.title }}</h3>
<div class="page_content">{{ rev.content|markdown }}</div>
{% else %}
2016-07-22 00:05:29 +00:00
{% if page.revisions.last() %}
2016-07-19 17:03:16 +00:00
<h3>{{ page.revisions.last().title }}</h3>
<div class="page_content">{{ page.revisions.last().content|markdown }}</div>
{% endif %}
2016-07-22 00:05:29 +00:00
{% endif %}
2016-02-01 16:35:55 +00:00
{% endblock %}