aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-12-28 10:19:13 -0500
committerBobby <[email protected]>2022-12-28 10:19:13 -0500
commitb4980e3758186ee5ef5bc275d641b4c35b60e172 (patch)
tree95c3d3f88af48cb911b3e27fdec62ba674aac483
parent86a0316c685ece0e7a0c2ab9433cfddd3ba02501 (diff)
downloadthatcomputerscientist-b4980e3758186ee5ef5bc275d641b4c35b60e172.tar.xz
thatcomputerscientist-b4980e3758186ee5ef5bc275d641b4c35b60e172.zip
Make sure ignis finds the image
-rw-r--r--templates/blog/post.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/blog/post.html b/templates/blog/post.html
index 26901f02..2f89fd9a 100644
--- a/templates/blog/post.html
+++ b/templates/blog/post.html
@@ -8,8 +8,7 @@
<article>
{% load subdomain %}
<div class="article-cover">
- {% url 'ignis:post_image' post.id as cover_url %}
- <img src="{% url 'ignis:post_image' post.id %}.png" alt="Cover Image" style="width: 720px; margin: 0 auto; display: block;">
+ <img src="{% url 'ignis:post_image' post.id %}?s=720" alt="Cover Image" style="width: 720px; margin: 0 auto; display: block;">
</div>
<h1 style="margin-bottom: 12px; font-size: 2rem;">{{ post.title }}</h1>
<p style="line-height: 1.6em;">