diff options
author | uPagge <upagge@mail.ru> | 2020-12-20 13:43:47 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2020-12-20 13:43:47 +0300 |
commit | df4ec2fdff4681be317d1f0d1dcc6953026777e5 (patch) | |
tree | 9b9cf30b18e911f3cbc0c5bc526939869b9eb6f1 /layouts/_default/summary.html | |
parent | ccfe303a86cfc1c8fc20f07e761baaf4bbd6525d (diff) |
css style fix
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 73f87c1..69e31f1 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -48,8 +48,9 @@ {{- end -}} {{- with .Site.Params.dateFormat | default "2006-01-02" | .PublishDate.Format -}} + {{- $timeAgoDate:= $.Site.Params.TimeAgo.DateFormat | default "2006-01-02" | $.PublishDate.Format -}} <span class="post-publish"><i class="far fa-clock fa-fw"></i> - {{- printf `<time class="timeago" datetime="%v">%v</time>` . . | safeHTML -}} + {{- printf `<time class="timeago" datetime="%v">%v</time>` $timeAgoDate . | safeHTML -}} </span> {{- end -}} |