summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-08-18 21:38:57 +0800
committerEltrac <hi@guhub.cn>2025-08-18 21:38:57 +0800
commitd244b5e610d15c24c71d2e9870a2d518453734f9 (patch)
tree1b708e02b2364afc09d10cbe26be5c82cd2ebd1f
parent48f90cc73857d87c539dab376155cc64065bb309 (diff)
fix: invalid section url in post list
-rw-r--r--layouts/_partials/items/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/items/post.html b/layouts/_partials/items/post.html
index 3e426c56..eebe7eea 100644
--- a/layouts/_partials/items/post.html
+++ b/layouts/_partials/items/post.html
@@ -6,7 +6,7 @@
<div>
<p class="font-mono text-secondary">
<time>{{ .ctx.Date.Format "January 2" }},</time>
- <span>in <a href="/{{ .Section }}/">{{ .ctx.Section }}</a></span>
+ <span>in <a href="/{{ .ctx.Section }}/">{{ .ctx.Section }}</a></span>
</p>
<h2 class="xerox"
{{ if $showSummary }} style="margin-bottom: 0"{{ end }}>