html-over-websockets-with-d.../app/website/templates/pages/talks.html

21 lines
639 B
HTML
Raw Normal View History

2021-11-12 20:54:20 +01:00
<main id="main">
2021-11-12 18:59:01 +01:00
{% for talk in talks %}
2021-11-12 20:54:20 +01:00
<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>
2021-11-12 18:59:01 +01:00
{% endfor %}
</main>