page_detail.jinja 476 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
{% extends "core/page.jinja" %}

{% block page %}
Skia's avatar
Skia committed
4
{% if rev %}
Skia's avatar
Skia committed
5
<h4>{% trans rev_id=rev.revision %}This may not be the last update, you are seeing revision {{ rev_id }}!{% endtrans %}</h4>
Skia's avatar
Skia committed
6
7
8
<h3>{{ rev.title }}</h3>
<div class="page_content">{{ rev.content|markdown }}</div>
{% else %}
Skia's avatar
Skia committed
9
{% if page.revisions.last() %}
Skia's avatar
Skia committed
10
11
12
<h3>{{ page.revisions.last().title }}</h3>
<div class="page_content">{{ page.revisions.last().content|markdown }}</div>
{% endif %}
Skia's avatar
Skia committed
13
{% endif %}
Skia's avatar
Skia committed
14
15
16
17
{% endblock %}