summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-03-22 22:55:46 +0800
committereltrac <hi@eltr.ac>2026-03-22 22:55:46 +0800
commit8db32e33b0c55a127b62f023306fceb39edc0178 (patch)
tree4e2478e0c15e8f80e2dc06c6a18e5c1d95300235 /layouts
parentedb73be85f7f765000133e6f6694add4599d56c0 (diff)
fix: bad character '-'
Diffstat (limited to 'layouts')
-rw-r--r--layouts/page.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/page.html b/layouts/page.html
index e9dae76..9285e8d 100644
--- a/layouts/page.html
+++ b/layouts/page.html
@@ -6,8 +6,8 @@
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
- {{ with .Params.in-reply-to }}
- <p>本页面是对 <a href="{{ . }}" class="u-in-reply-to" target="_blank">{{ .Params.in-reply-to-title }}</a> 的回复。</p>
+ {{ with .Params.inReplyTo }}
+ <p>本页面是对 <a href="{{ . }}" class="u-in-reply-to" target="_blank">{{ .Params.inReplyToTitle }}</a> 的回复。</p>
{{ end }}
<div class="e-content">