aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-06-04 19:29:13 -0400
committerBobby <[email protected]>2023-06-04 19:29:13 -0400
commit06a3ef3f890898f9a02de91c58a323a09b20431c (patch)
treeac1367f87d91cba47a2e030ed84de1fb958a557c /templates
parent38bf86a3dace8ada9898bf624e67c404a6746286 (diff)
downloadthatcomputerscientist-06a3ef3f890898f9a02de91c58a323a09b20431c.tar.xz
thatcomputerscientist-06a3ef3f890898f9a02de91c58a323a09b20431c.zip
Filters Visible on zero posts
Diffstat (limited to 'templates')
-rw-r--r--templates/blog/articles.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/blog/articles.html b/templates/blog/articles.html
index 6c3ae869..87bb53cf 100644
--- a/templates/blog/articles.html
+++ b/templates/blog/articles.html
@@ -7,8 +7,6 @@
<h2 style="margin-top:15px;"> Posts made in Category: {{ category_name }}</h2>
{% endif %}
-
-{% if posts %}
<form id="filters" method="get">
<span><b>Filters:</b>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<label for="order_by">Order By: </label>
@@ -33,6 +31,7 @@
<span>&nbsp;&nbsp;</span>
<input type="submit" value="Apply" class="button button-special" />
</form>
+{% if posts %}
<div style="margin-top: -10px;">
{% include 'blog/partials/post_list.html' %}
</div>