forked from Ponysearch/Ponysearch
13 lines
554 B
HTML
13 lines
554 B
HTML
{% 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 %}
|