]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/wiki/page.html
wiki: Borrow markdown rendering from blog
[ipfire.org.git] / src / templates / wiki / page.html
CommitLineData
181d08f3
MT
1{% extends "base.html" %}
2
3{% block title %}{{ page.title }}{% end block %}
4
091ac36b
MT
5{% block sidebar %}
6 {% if page.sidebar %}
321c58c3 7 {% raw page.sidebar.html %}
091ac36b
MT
8 {% end %}
9{% end block %}
10
181d08f3 11{% block main %}
13836cfd
MT
12 {% if not request.path == "/" %}
13 {% module WikiNavbar(page) %}
14 {% end %}
6ac7e934 15
3b05ef6e 16 <div class="card mb-3">
181d08f3 17 <div class="card-body">
321c58c3 18 {% raw page.html %}
181d08f3
MT
19 </div>
20 </div>
3b05ef6e
MT
21
22 <p class="small text-right">
23 {{ _("Last modified %s") % locale.format_date(page.timestamp) }}
24
25 {% if page.author %}
26 &bull;
27
28 <a href="/users/{{ page.author.uid }}">
29 {{ page.author }}
30 </a>
31 {% end %}
32 </p>
181d08f3 33{% end block %}