blob: 5665bc501b9ccf39b1130a382a406b3734cc26f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{% extends "base.html" %}
{% block content %}
<form method="post" action="">
<input type="text" name="q" value="{{ q }}"/>
<input type="submit" value="search" />
</form>
{% for result in results %}
<div class="result">
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
<p class="content"><span class="engine">{{ result.engine }}</span><br />{% if result.content %}{{ result.content|safe }}<br />{% endif %}<span class="url">{{ result.url }}</span></p>
</div>
{% endfor %}
{% endblock %}
|