Sith/core/templates/core/page_detail.jinja

18 lines
476 B
Plaintext
Raw Normal View History

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