20 lines
727 B
HTML
20 lines
727 B
HTML
|
{% extends 'base.html' %}
|
||
|
{% block title %}Suche - {{block.super}}{% endblock title %}
|
||
|
{% block content %}
|
||
|
<div class="dc-container">
|
||
|
<h1 class="dc-center">Suchergebnisse </h1>
|
||
|
<div class="dc-container">
|
||
|
{% for obj in post_list %}
|
||
|
<div class="dc-container dc-light-grey dc-border-dark-grey dc-border-top">
|
||
|
<div><a href="{% url 'post' obj.slug %}" class="dc-xlarge">{{ obj.title }}</a></div>
|
||
|
<div><a href="{% url 'post' obj.slug %}" class="dc-medium">{{ obj.overview }}</a></div>
|
||
|
{% for category in obj.categories.all %}
|
||
|
<p class="dc-small">Kategorie: {{ category.title }}</p>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
<div class="dc-border-top dc-padding-small dc-border-dark-grey dc-white"></div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock content %}
|