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-07-16 05:56:14 +00:00
|
|
|
{{ item.data.title }}
|
|
|
|
</div>
|
|
|
|
<div class="image">
|
|
|
|
<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>
|
|
|
|
|