summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-05 21:02:50 +0800
committerEltrac <hi@guhub.cn>2025-11-05 21:02:50 +0800
commitcc4813641d8a2deb1c2fe80e44254175db94f3c4 (patch)
treea8a50f22dc266040994273b1361a81b3e5c3b8cb /layouts
parentb6c92157f5ebb245a849dbe8562dae76dd934687 (diff)
fix: invalid variable name in post item partial
Former-commit-id: f1d33282a497e09782c3fd42a6e79f6911823c23
Diffstat (limited to 'layouts')
-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 64606f04..5527ea6c 100644
--- a/layouts/_partials/items/post.html
+++ b/layouts/_partials/items/post.html
@@ -30,7 +30,7 @@
</header>
{{ if or $showSummary .ctx.Params.description }}
<div class="markdown-body text-size-lg leading-relaxed"
- style="view-transition-name: post-content-{{ .File.UniqueID }}">
+ style="view-transition-name: post-content-{{ .ctx.File.UniqueID }}">
{{ if $showSummary }}
{{ .ctx.Summary }}
{{ else if .ctx.Params.description }}