diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-05 21:02:50 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-05 21:02:50 +0800 |
| commit | cc4813641d8a2deb1c2fe80e44254175db94f3c4 (patch) | |
| tree | a8a50f22dc266040994273b1361a81b3e5c3b8cb /layouts/_partials/items | |
| parent | b6c92157f5ebb245a849dbe8562dae76dd934687 (diff) | |
fix: invalid variable name in post item partial
Former-commit-id: f1d33282a497e09782c3fd42a6e79f6911823c23
Diffstat (limited to 'layouts/_partials/items')
| -rw-r--r-- | layouts/_partials/items/post.html | 2 |
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 }} |
