2023-08-28 00:32:44 +08:00
|
|
|
{{- $lastUpdated := (T "lastUpdated") | default "Last updated on" -}}
|
|
|
|
|
|
|
|
{{- if site.Params.displayUpdatedDate -}}
|
2023-08-10 05:36:20 +08:00
|
|
|
{{- with .Lastmod -}}
|
|
|
|
{{ $datetime := (time.Format "2006-01-02T15:04:05.000Z" .) }}
|
2023-08-28 00:32:44 +08:00
|
|
|
<div class="mt-12 mb-8 block text-xs text-gray-500 ltr:text-right rtl:text-left dark:text-gray-400">{{ $lastUpdated }} <time datetime="{{ $datetime }}">{{ partial "utils/format-date" . }}</time></div>
|
2023-08-12 23:45:00 +08:00
|
|
|
{{- else -}}
|
|
|
|
<div class="mt-16"></div>
|
2023-08-10 05:36:20 +08:00
|
|
|
{{- end -}}
|
2023-08-28 00:32:44 +08:00
|
|
|
{{- else -}}
|
2023-08-10 05:36:20 +08:00
|
|
|
<div class="mt-16"></div>
|
2023-08-28 00:32:44 +08:00
|
|
|
{{- end -}}
|