realms-wiki/realms/templates/search/search.html

18 lines
452 B
HTML
Raw Normal View History

2014-11-10 18:54:46 +02:00
{% extends 'layout.html' %}
{% block body %}
2014-11-12 01:06:28 +02:00
{% if results %}
<div class="list-group">
{% for r in results %}
<a href="{{ url_for('wiki.page', name=r['name']) }}" class="list-group-item">
<h4 class="list-group-item-heading">{{ r['name'] }}</h4>
<p class="list-group-item-text">
{{ r['content'][:100] }}
</p>
</a>
{% endfor %}
</div>
{% else %}
No Results Found
{% endif %}
2014-11-10 18:54:46 +02:00
{% endblock %}