mirror of https://github.com/spikecodes/libreddit
29 lines
575 B
HTML
29 lines
575 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 }}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
{% endblock %} |