Add writing to home page

master
Tanner Collin 3 years ago
parent eddde95b57
commit bda333c88a
  1. 13
      themes/theme/templates/index.html

@ -90,7 +90,7 @@
<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' %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
@ -98,5 +98,16 @@
{{ article.summary }}
</div>
{% 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>
{% endblock %}

Loading…
Cancel
Save