diff --git a/CHANGELOG.md b/CHANGELOG.md
index e07a0d35..b6e39ead 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file.
- :bug: Fix: resolve style conflicts between valine and animate.css ([#304](https://github.com/hugo-fixit/FixIt/issues/304))
- :recycle: Refactor: image lazy loading ([#283](https://github.com/hugo-fixit/FixIt/pull/283))
- :recycle: Refactor: author's avatar of post or profile ([#288](https://github.com/hugo-fixit/FixIt/pull/288))
+- :wheelchair: Feat: add post update date to post meta ([#285](https://github.com/hugo-fixit/FixIt/issues/285)])
- :art: Style: fix `#comments` css style conflict ([#269](https://github.com/hugo-fixit/FixIt/issues/269))
- :art: Style: adjust the mobile header style and fix the bug that scrolling is invalid when there are too many menus on mobile ([#289](https://github.com/hugo-fixit/FixIt/issues/289))
- :memo: Docs: refactor the theme documentation
diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html
index 5dde54a8..3b663291 100644
--- a/layouts/partials/single/footer.html
+++ b/layouts/partials/single/footer.html
@@ -5,7 +5,7 @@
-
+
{{- with .Site.Params.dateformat | default "2006-01-02" | .Lastmod.Format -}}
{{- dict "Date" . | T "single.updatedOnDate" -}}
{{- if $gitRepo -}}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 7e64e7d7..47e51196 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -62,19 +62,27 @@
{{- with .Site.Params.dateformat | default "2006-01-02" | .PublishDate.Format -}}
-
- {{- dict "Class" "fa-regular fa-calendar-alt fa-fw" | partial "plugin/icon.html" -}}
+
+ {{- dict "Class" "fa-regular fa-calendar-alt fa-fw me-1" | partial "plugin/icon.html" -}}
+ {{- printf `` . . | safeHTML -}}
+
+ {{- end -}}
+ {{- with .Site.Params.dateformat | default "2006-01-02" | .Lastmod.Format -}}
+
+ {{- dict "Class" "fa-regular fa-edit fa-fw me-1" | partial "plugin/icon.html" -}}
{{- printf `` . . | safeHTML -}}
{{- end -}}
{{- if $params.wordCount -}}
- {{- dict "Class" "fa-solid fa-pencil-alt fa-fw" | partial "plugin/icon.html" }} {{ T "single.wordCount" .WordCount -}}
+ {{- dict "Class" "fa-solid fa-pencil-alt fa-fw me-1" | partial "plugin/icon.html" -}}
+ {{- T "single.wordCount" .WordCount -}}
{{- end -}}
{{- if $params.readingTime -}}
- {{- dict "Class" "fa-regular fa-clock fa-fw" | partial "plugin/icon.html" }} {{ T "single.readingTime" .ReadingTime -}}
+ {{- dict "Class" "fa-regular fa-clock fa-fw me-1" | partial "plugin/icon.html" -}}
+ {{- T "single.readingTime" .ReadingTime -}}
{{- end -}}
@@ -87,53 +95,53 @@
{{- .Scratch.Set "commentExpired" true -}}
{{- end -}}
{{- $comment := .Scratch.Get "comment" | default dict -}}
- {{- $visitorIcon := dict "Class" "fa-regular fa-eye fa-fw" | partial "plugin/icon.html" -}}
- {{- $commentIcon := dict "Class" "fa-regular fa-comments fa-fw" | partial "plugin/icon.html" -}}
+ {{- $visitorIcon := dict "Class" "fa-regular fa-eye fa-fw me-1" | partial "plugin/icon.html" -}}
+ {{- $commentIcon := dict "Class" "fa-regular fa-comments fa-fw me-1" | partial "plugin/icon.html" -}}
{{- /* Visitor Count */ -}}
{{- if $comment.enable -}}
{{- if $comment.artalk.enable -}}
- {{ $visitorIcon }} - {{ T "single.views" }}
+ {{ $visitorIcon }}- {{ T "single.views" }}
{{- else if ($comment.valine.enable | and $comment.valine.visitor) -}}
- {{ $visitorIcon }} - {{ T "single.views" }}
+ {{ $visitorIcon }}- {{ T "single.views" }}
{{- else if $comment.waline.enable | and $comment.waline.pageview -}}
- {{ $visitorIcon }} - {{ T "single.views" }}
+ {{ $visitorIcon }}- {{ T "single.views" }}
{{- else if $comment.twikoo.enable | and $comment.twikoo.visitor -}}
- {{ $visitorIcon }} - {{ T "single.views" }}
+ {{ $visitorIcon }}- {{ T "single.views" }}
{{- else if .Site.Params.ibruce.enable | and .Site.Params.ibruce.enablePost -}}
- {{ $visitorIcon }} - {{ T "single.views" }}
+ {{ $visitorIcon }}- {{ T "single.views" }}
{{- end -}}
{{- else if .Site.Params.ibruce.enable | and .Site.Params.ibruce.enablePost -}}
- {{ $visitorIcon }} - {{ T "single.views" }}
+ {{ $visitorIcon }}- {{ T "single.views" }}
{{- end -}}
{{- /* Comment Count */ -}}
{{- if $comment.enable -}}
{{- if $comment.artalk.enable -}}
- {{ $commentIcon }} - {{ T "single.comments" }}
+ {{ $commentIcon }}- {{ T "single.comments" }}
{{- else if $comment.valine.enable | and $comment.valine.commentCount -}}
- {{ $commentIcon }} - {{ T "single.comments" }}
+ {{ $commentIcon }}- {{ T "single.comments" }}
{{- else if $comment.waline.enable | and $comment.waline.comment -}}
- {{ $commentIcon }} - {{ T "single.comments" }}
+ {{ $commentIcon }}- {{ T "single.comments" }}
{{- else if $comment.twikoo.enable | and $comment.twikoo.commentCount -}}
- {{ $commentIcon }} - {{ T "single.comments" }}
+ {{ $commentIcon }}- {{ T "single.comments" }}
{{- end -}}
{{- end -}}