💡 Feat: use the original title after archiving the articles

This commit is contained in:
Cell
2024-07-10 17:59:09 +08:00
parent 45c71ef58e
commit 6d9c6f5b93
+2 -1
View File
@@ -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 -}}
</a>
<span class="archive-item-date" title='{{ "2006-01-02 15:04:05" | .Date.Format }}'>
{{- .Date | dateFormat ($.Site.Params.archives.dateFormat | default "01-02") -}}