html-over-websockets-with-d.../app/website/templates/pages/talks.html
Andros Fenollosa ae59910bb7 Best template
2021-11-12 20:54:20 +01:00

21 lines
639 B
HTML

<main id="main">
{% for talk in talks %}
<a href="#">
<article>
<header>
<div class="grid">
<p>
<img width="200" src="{{ talk.image.url }}">
</p>
<h2>{{ talk.title }}</h2>
</div>
</header>
<p>
{{ talk.content|truncatechars:100 }}
</p>
<footer>Author {{ talk.author.full_name }} - {{ talk.category.name }}</footer>
</article>
</a>
{% endfor %}
</main>