diff --git a/layouts/partials/date.html b/layouts/partials/date.html index af3ee66..7110274 100644 --- a/layouts/partials/date.html +++ b/layouts/partials/date.html @@ -3,12 +3,19 @@ {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}} {{ $pubdate := .Date.Format $singlePageDateFormat }} -
{{ $publishString }}
++ + {{ $publishString }} + +
{{- if and (not (.Scratch.Get "noDateUpdate")) .Lastmod }} {{- $lastmod := .Lastmod.Format $singlePageDateFormat }} {{- if ne $lastmod $pubdate }} -Updated on
++ Updated on + +
{{- end }} {{ end }} {{ end }} \ No newline at end of file diff --git a/layouts/partials/reading_time.html b/layouts/partials/reading_time.html index 3f5f0e1..b3c7157 100644 --- a/layouts/partials/reading_time.html +++ b/layouts/partials/reading_time.html @@ -2,7 +2,8 @@ {{ $readTime := mul (div (countwords .Content) 220.0) 60 }} {{ if gt $readTime 60 }}- Reading Time: - {{ math.Ceil (div $readTime 60) }} minutes. + + {{ math.Ceil (div $readTime 60) }} minute + reading time
{{ end }} \ No newline at end of file