1
0
mirror of https://github.com/tiyn/amphora-wiki.git synced 2026-02-22 12:54:48 +01:00

search: preview added

- The search result list now has previews
- The Dockerfile doesnt need git anymore
This commit is contained in:
TiynGER
2020-06-12 23:49:59 +02:00
parent 19cf415947
commit 26ecbf1007
9 changed files with 72 additions and 24 deletions

9
src/templates/index.html Normal file
View File

@@ -0,0 +1,9 @@
{% extends "template.html" %}
{% block content %}
<div class="container">
<div class="important">
This is the<br>
<span>{{ title }}</span>
</div>
</div>
{% endblock %}

View File

@@ -7,9 +7,11 @@
{{ form.query_str }}
{{ form.submit }}
</form>
{% autoescape off %}
<span>{{ content }}</span>
{% endautoescape %}
<div class="content">
{% autoescape off %}
<span>{{ content }}</span>
{% endautoescape %}
</div>
</div>
</div>
{% endblock %}