feat:adding in a lot of formatting fixes, 404 page and a 500 page

This commit is contained in:
Lucas Oskorep
2024-03-12 03:21:52 -04:00
parent 87a359fdb4
commit 89b4d691eb
7 changed files with 74 additions and 80 deletions
+31
View File
@@ -0,0 +1,31 @@
{% extends "base.html" %}
{% block content %}
<div class="posts">
PROJECT LIST HERE
{% for article in articles %}
{% if article.category == 'models' %}
<div class="post">
<h1 class="post-title" href="{{ SITEURL }}/{{ article.url }}">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</h1>
<span class="post-date">{{ article.locale_date }}</span>
{% if article.tags %}
<span class="post-tags">
Tags:
<ul>
{% for tag in article.tags %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</span>
{% endif %}
<p>
{{ article.summary }}
</p>
<a class="read-more" href="{{ article.url }}">Continue reading »</a>
</div>
{% endif %}
{% endfor %}
</div>
{% endblock %}