blob: 7035e8f5f4744d5a3d9a1dd9d5bb864d37bd681c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{% from 'common.html' import disp_post %}
{% extends 'base.html' %}
{% block header %}
<h1>{%block title %}Results for {{query}}{% endblock %}</h1>
{% endblock %}
{%block content%}
<div class="results">
{% for result in results %}
{% if display_thread_id[loop.index0] %}
<h3><a href="{{url_for('thread.view_thread', thread_id=result.thread)}}">{{ result.thread_title }}</a></h3>
{% endif %}
{% call disp_post(result, True) %}
{{ rendered_posts[loop.index0] | safe}}
{% endcall %}
{% endfor %}
</div>
{% endblock %}
|