pyfedi/app/templates/community/community_wiki_revision_view.html

31 lines
1.3 KiB
HTML
Raw Normal View History

2024-07-18 15:14:55 +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">
<div class="col post_col post_type_normal">
<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">{{ revision.title }}</h1>
{{ revision.body_html | safe }}
</div>
</div>
</div>
{% include "_side_pane.html" %}
</div>
{% endblock -%}