From 6d9c6f5b93bb53a4eab9955641058d9a412f30b7 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 10 Jul 2024 17:59:09 +0800 Subject: [PATCH] :bulb: Feat: use the original title after archiving the articles --- layouts/index.archives.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/index.archives.html b/layouts/index.archives.html index a3c9fe85..ca22c484 100644 --- a/layouts/index.archives.html +++ b/layouts/index.archives.html @@ -51,7 +51,8 @@ {{- if eq $repost.enable true -}} {{- dict "Class" "fa-solid fa-share fa-fw text-success me-1" | partial "plugin/icon.html" -}} {{- end -}} - {{- title .LinkTitle -}} + {{- /* Use the original title after archiving the articles */ -}} + {{- title .Title -}} {{- .Date | dateFormat ($.Site.Params.archives.dateFormat | default "01-02") -}}