Add images to creations on index page

This commit is contained in:
2025-06-22 16:34:15 -06:00
parent 005a371dcb
commit 665811bb57
3 changed files with 43 additions and 9 deletions

View File

@@ -49,10 +49,17 @@
<p>Sometimes I create art or interactive tech.</p>
<div class="creations">
{% for article in articles_page.object_list if article.category.name == 'Creations' %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
<div class="creation">
<a href="{{ article.url }}">
<img src="media/{{ article.image }}" alt="{{ article.summary }}" />
{{ article.title }}
</a>
</div>
{% endfor %}
</div>
<h2>Writing</h2>