2024-07-17 22:11:31 +08:00
|
|
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') -%}
|
|
|
|
{% extends 'themes/' + theme() + '/base.html' -%}
|
|
|
|
{% else -%}
|
|
|
|
{% extends "base.html" -%}
|
|
|
|
{% endif -%} -%}
|
|
|
|
{% from 'bootstrap/form.html' import render_form -%}
|
|
|
|
|
|
|
|
{% block app_content -%}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-md-8 position-relative main_pane">
|
|
|
|
<div class="row position-relative">
|
2024-12-05 14:33:57 +13:00
|
|
|
<div class="col post_col post_type_normal wiki_page">
|
2024-07-17 22:11:31 +08:00
|
|
|
<nav aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
{% for breadcrumb in breadcrumbs -%}
|
|
|
|
<li class="breadcrumb-item">{% if breadcrumb.url -%}<a href="{{ breadcrumb.url }}">{% endif -%}{{ breadcrumb.text }}{% if breadcrumb.url -%}</a>{% endif -%}</li>
|
|
|
|
{% endfor -%}
|
|
|
|
<li class="breadcrumb-item"><a href="/c/{{ page.community.link() }}">{{ page.community.title }}@{{ page.community.ap_domain }}</a></li>
|
|
|
|
<li class="breadcrumb-item active">{{ page.title|shorten(15) }}</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
|
|
|
<h1 class="mt-2 post_title">{{ page.title }}</h1>
|
|
|
|
{{ page.body_html | safe }}
|
|
|
|
{% if page.can_edit(current_user, community) -%}
|
|
|
|
<p><a class="btn btn-primary" href="{{ url_for('community.community_wiki_edit', actor=community.link(), page_id=page.id, return='page') }}">{{ _('Edit') }}</a></p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% include "_side_pane.html" %}
|
|
|
|
</div>
|
|
|
|
{% endblock -%}
|