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 d281b3a commit 08f5ca8Copy full SHA for 08f5ca8
layouts/partials/components/metadata-bar.html
@@ -33,7 +33,7 @@
33
{{- end -}}
34
35
{{- /* Show 'Updated' for non-events (like blog posts) */ -}}
36
- {{- if and (ne $type "event") (ne $ctx.Lastmod.Date $ctx.Date) -}}
+ {{- if and (ne $type "event") (ne $ctx.Lastmod $ctx.Date) -}}
37
<span class="italic text-gray-500 ml-2">(Updated {{ $ctx.Lastmod.Format (site.Params.dateFormatSingle | default "January 2, 2006") }})</span>
38
39
</span>
0 commit comments