1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-27 11:06:01 +01:00
libreddit/templates/wiki.html
2022-05-21 05:28:31 +00:00

30 lines
581 B
HTML

{% extends "base.html" %}
{% import "utils.html" as utils %}
{% block title %}
{% if sub != "" %}{{ page }} - {{ sub }}
{% else %}Libreddit{% endif %}
{% endblock %}
{% block search %}
{% call utils::search(["/r/", sub.as_str()].concat(), "") %}
{% endblock %}
{% block subscriptions %}
{% call utils::sub_list(sub.as_str()) %}
{% endblock %}
{% block body %}
<main>
<div class="panel" id="column_one">
<div id="top">
<a href="/r/{{ sub }}">Posts</a>
<div>Wiki</div>
</div>
<div id="wiki">
{{ wiki|safe }}
</div>
</div>
</main>
{% endblock %}