Add writing to home page

This commit is contained in:
Tanner Collin 2021-06-16 07:36:09 +00:00
parent eddde95b57
commit bda333c88a

View File

@ -90,7 +90,7 @@
<h2>Creations</h2> <h2>Creations</h2>
<p>Sometimes I create art or interactive tech.</> <p>Sometimes I create art or interactive tech.</p>
{% for article in articles_page.object_list if article.category.name == 'Projects' %} {% for article in articles_page.object_list if article.category.name == 'Projects' %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3> <h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
@ -98,5 +98,16 @@
{{ article.summary }} {{ article.summary }}
</div> </div>
{% endfor %} {% endfor %}
<h2>Writing</h2>
<p>Various articles, mostly about computers.</p>
{% for article in articles_page.object_list if article.category.name == 'Writing' %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
<div class="summary">
{{ article.summary }}
</div>
{% endfor %}
</div> </div>
{% endblock %} {% endblock %}