We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0713236 commit 308b4a4Copy full SHA for 308b4a4
layouts/partials/post_meta.html
@@ -8,11 +8,6 @@
8
{{- $scratch.Add "meta" (slice (i18n "modification_date" (.Lastmod | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }}
9
{{- end }}
10
11
-{{- if (.Param "ShowLastMod") -}}
12
-{{- $formattedDate := .Lastmod | time.Format (default "January 2, 2006" site.Params.DateFormat) -}}
13
-{{- $scratch.Add "meta" (slice (i18n "modification_date" (dict "Date" $formattedDate))) -}}
14
-{{- end }}
15
-
16
{{- if (.Param "ShowReadingTime") -}}
17
{{- $scratch.Add "meta" (slice (i18n "read_time" .ReadingTime | default (printf "%d min" .ReadingTime))) }}
18
0 commit comments