mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 20:15:25 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
12 lines
513 B
HTML
12 lines
513 B
HTML
{{- $last_updated := T "last_updated" -}}
|
|
|
|
{{- if (.Params.show_date_updated | default true) | and .Lastmod -}}
|
|
{{ $datetime := (time.Format "2006-01-02T15:04:05.000Z" .Lastmod) }}
|
|
<time class="mt-12 mb-8 block text-xs text-gray-500 ltr:text-right rtl:text-left dark:text-gray-400" datetime="{{ $datetime }}">
|
|
<span>{{ $last_updated }}</span>
|
|
{{ .Lastmod | time.Format (site.Params.hugoblox.locale.date_format | default ":date_long") -}}
|
|
</time>
|
|
{{- else -}}
|
|
<div class="mt-16"></div>
|
|
{{- end -}}
|