
add: nsfw questions fix: inherit nsfw status from questions fix: inherit community from questions
18 lines
702 B
HTML
18 lines
702 B
HTML
{% extends "root.html" %} {% block head %}
|
|
<title>Popular (questions) - {{ config.name }}</title>
|
|
{% endblock %} {% block body %} {{ macros::nav() }}
|
|
<main class="flex flex-col gap-2">
|
|
{{ macros::timelines_nav(selected="popular") }} {{
|
|
macros::timelines_secondary_nav(posts="/popular",
|
|
questions="/popular/questions", selected="questions") }}
|
|
|
|
<!-- prettier-ignore -->
|
|
<div class="card w-full flex flex-col gap-2">
|
|
{% for question in list %}
|
|
{{ components::global_question(question=question, can_manage_questions=false, secondary=true) }}
|
|
{% endfor %}
|
|
|
|
{{ components::pagination(page=page, items=list|length) }}
|
|
</div>
|
|
</main>
|
|
{% endblock %}
|