23 lines
526 B
HTML
23 lines
526 B
HTML
<html>
|
|
|
|
<body>
|
|
<h1>Suche:</h1>
|
|
<p><form action="" href="#"><input name="q" /></form></p>
|
|
<p><b>Message:</b>{{message}}</p>
|
|
|
|
<ul style="list-style: none;">
|
|
{% for r in results %}
|
|
<li>
|
|
<a href="https://{{r['_source']['url']}}">
|
|
{{r["_source"]["title"]|safe }}
|
|
</a>
|
|
{% for hh in r["highlight"] %}
|
|
{% for h in r["highlight"][hh] %}
|
|
{{ h |safe}} <br />
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</body>
|
|
</html> |