libreddit/templates/wiki.html

30 lines
581 B
HTML
Raw Normal View History

2021-01-02 06:21:43 +00:00
{% extends "base.html" %}
{% import "utils.html" as utils %}
{% block title %}
2021-01-02 06:34:25 +00:00
{% if sub != "" %}{{ page }} - {{ sub }}
2021-01-02 06:21:43 +00:00
{% else %}Libreddit{% endif %}
{% endblock %}
{% block search %}
{% call utils::search(["/r/", sub.as_str()].concat(), "") %}
{% endblock %}
2021-01-30 08:47:30 +00:00
{% block subscriptions %}
2021-01-30 22:52:18 +00:00
{% call utils::sub_list(sub.as_str()) %}
{% endblock %}
2021-01-02 06:21:43 +00:00
{% block body %}
<main>
2021-01-04 03:44:44 +00:00
<div class="panel" id="column_one">
2021-01-02 06:21:43 +00:00
<div id="top">
<a href="/r/{{ sub }}">Posts</a>
<div>Wiki</div>
</div>
<div id="wiki">
2022-05-21 05:28:31 +00:00
{{ wiki|safe }}
2021-01-02 06:21:43 +00:00
</div>
</div>
</main>
2022-05-21 05:28:31 +00:00
{% endblock %}