summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/page.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/page.html b/layouts/page.html
index 9285e8d..934f40f 100644
--- a/layouts/page.html
+++ b/layouts/page.html
@@ -6,8 +6,9 @@
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+ {{ $page := . }}
{{ with .Params.inReplyTo }}
- <p>本页面是对 <a href="{{ . }}" class="u-in-reply-to" target="_blank">{{ .Params.inReplyToTitle }}</a> 的回复。</p>
+ <p style="font-style: italic">本页面是对 <a href="{{ . }}" class="u-in-reply-to" target="_blank">{{ $page.Params.inReplyToTitle }}</a> 的回复。</p>
{{ end }}
<div class="e-content">