{% import "./macros/post-actions.html" as post_actions %} {% import "./macros/post.html" as post %} {% import "./macros/static-pagination.html" as static_pagination %} {% extends "base.html" %} {% block title %} Vyhledávání ({% if let Some(board) = board_opt %}/{{ board.id }}/{% else %}nadnástěnka{% endif %}) {% endblock %} {% block content %}

Výsledky pro "{{ query }}" ( {% if let Some(board) = board_opt %} /{{ board.id }}/ {% else %} nadnástěnka {% endif %} )


{% for post in posts %} {% if let Some(board) = board_opt %} {% call post::post(board, post, true) %} {% else %} Příspěvek z /{{ post.board }}/
{% call post::post(boards[post.board.as_str()], post, true) %} {% endif %}
{% endfor %}

{% if let Some(board) = board_opt %} {% call static_pagination::static_pagination("/search?board={}&query={}"|format(board.id, query|urlencode_strict), page, true) %} {% else %} {% call static_pagination::static_pagination("/search?query={}"|format(query|urlencode_strict), page, true) %} {% endif %}
{% call post_actions::post_actions() %}
{% endblock %}