summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/page.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/page.html b/layouts/page.html
index 4e08b11..e9dae76 100644
--- a/layouts/page.html
+++ b/layouts/page.html
@@ -6,6 +6,10 @@
{{ $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>
+ {{ end }}
+
<div class="e-content">
{{ .Content }}
</div>