2023-07-16 05:56:14 +00:00
|
|
|
<div class="item">
|
|
|
|
<a href="{{ item.get_absolute_url }}">
|
|
|
|
<div class="info">
|
2023-08-21 09:24:53 +00:00
|
|
|
<h1>{{ item.title }}</h1>
|
2023-08-22 15:35:56 +00:00
|
|
|
<h2>{{ item.data.title }}</h2>
|
2023-07-16 05:56:14 +00:00
|
|
|
</div>
|
2023-12-01 19:45:47 +00:00
|
|
|
<div class="image {{item.data.type }}">
|
2023-07-16 05:56:14 +00:00
|
|
|
<img src={{ item.data.thumbnail }}>
|
|
|
|
</div>
|
|
|
|
</a>
|
2023-08-16 15:32:59 +00:00
|
|
|
{% if item.public_comments.count %}
|
2023-07-16 05:56:14 +00:00
|
|
|
<div class="comments">
|
2023-08-21 09:11:52 +00:00
|
|
|
{% with comments=item.public_comments.count %}
|
|
|
|
<a href="{{ item.get_absolute_url }}">{{ comments }} comment{{ comments |pluralize }}</a>
|
|
|
|
{% endwith %}
|
2023-07-16 05:56:14 +00:00
|
|
|
</div>
|
2023-08-16 15:32:59 +00:00
|
|
|
{% endif %}
|
2023-07-16 05:56:14 +00:00
|
|
|
</div>
|
|
|
|
|