aboutsummaryrefslogtreecommitdiff
path: root/templates/blog-page.html
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-07-28 13:19:38 +1200
committerArslaan Pathan <[email protected]>2026-07-28 13:19:38 +1200
commit838c1361b8da074937991ee0a057fb73d0122d29 (patch)
treeba60e226ee7f55411bc0cd4fa15f53587ae1fc60 /templates/blog-page.html
parent29e11a34c1ebe2335398912bcc9643f5afc1288a (diff)
downloadarslaancodes-838c1361b8da074937991ee0a057fb73d0122d29.tar.xz
arslaancodes-838c1361b8da074937991ee0a057fb73d0122d29.zip
Finish it off!
Diffstat (limited to 'templates/blog-page.html')
-rw-r--r--templates/blog-page.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/blog-page.html b/templates/blog-page.html
index cd9785e..a46cd5d 100644
--- a/templates/blog-page.html
+++ b/templates/blog-page.html
@@ -1,6 +1,11 @@
{% extends "base.html" %}
{% block content %}
+{% if page.extra.image %}
+<div class="blog-image-wrap">
+ <a href="{{ page.permalink | safe}}"><img src="{{ page.extra.image | safe}}" alt="{{ page.title }}" class="blog-thumbnail"></a>
+</div>
+{% endif %}
<h1 class="title">
{{ page.title }}
</h1>