diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e26f062c..93a466ba 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -20,15 +20,19 @@
{{ . | time.Format $configDateFormat }}
|
{{ end -}}
- {{ $published := .PublishDate | time.Format ":date_medium" }}
- {{ $modified := .Lastmod | time.Format ":date_medium" }}
- {{ if ne $published $modified }}
- {{- with .Lastmod }}
- {{ $ISO_time := dateFormat "2006-01-02T15:04:05-07:00" . }}
-
- |
+ {{ $published := .PublishDate }}
+ {{ $modified := .GitInfo.AuthorDate }}
+ {{ if ge $modified $published }}
+ {{ $published := .PublishDate | time.Format ":date_medium" }}
+ {{ $modified := .Lastmod | time.Format ":date_medium" }}
+ {{ if ne $published $modified }}
+ {{- with .Lastmod }}
+ {{ $ISO_time := dateFormat "2006-01-02T15:04:05-07:00" . }}
+
+ |
+ {{ end -}}
{{ end -}}
{{ end -}}
Reading time {{.ReadingTime}} minutes |