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