aboutsummaryrefslogtreecommitdiffstats
path: root/templates/latestposts.html.tera
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-08-05 23:36:01 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-08-05 23:36:01 +0100
commit5fcb4c095613ec774678c1e48c1b0a93678b193b (patch)
treea17320dd2ee18207103b682348012e20d456901f /templates/latestposts.html.tera
parent8e55a2db52f5848ea3f61fac81ed4798948ba93c (diff)
downloadblossom-5fcb4c095613ec774678c1e48c1b0a93678b193b.tar.gz
blossom-5fcb4c095613ec774678c1e48c1b0a93678b193b.tar.bz2
blossom-5fcb4c095613ec774678c1e48c1b0a93678b193b.zip
fix blog widget links
Diffstat (limited to '')
-rw-r--r--templates/latestposts.html.tera2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/latestposts.html.tera b/templates/latestposts.html.tera
index 5aab5cb..11528a4 100644
--- a/templates/latestposts.html.tera
+++ b/templates/latestposts.html.tera
@@ -3,7 +3,7 @@
<table id="post-list">
{% for blogpost in blogposts %}
<tr>
- <td><a class="post-entry" href="/blog/{{ blogpost.subject }}">{{ blogpost.subject }}<span class="post-date">{{ blogpost.created_at | truncate(length=10, end="") }}</span></a></td>
+ <td><a class="post-entry" href="/blog/{{ blogpost.data.name }}">{{ blogpost.subject }}<span class="post-date">{{ blogpost.created_at | truncate(length=10, end="") }}</span></a></td>
</tr>
{% endfor %}
</table>