aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>