From b36043fdd1e5e691ec76281d1fffdcee81eb966a Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 14 Feb 2025 12:22:49 -0800 Subject: [PATCH] Fall back to published date for schema created date --- layouts/partials/paige/schema.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/schema.html b/layouts/partials/paige/schema.html index 8817cfd4..dc27cd2f 100644 --- a/layouts/partials/paige/schema.html +++ b/layouts/partials/paige/schema.html @@ -16,7 +16,7 @@ {{ $audio := $page.Params.audio | default slice }} {{ $authors := partial "paige/func-authors.html" $page }} {{ $copyright := site.Copyright | markdownify | plainify | htmlUnescape }} - {{ $created := cond (and (not $page.Date.IsZero) (ne $page.Date $page.PublishDate)) $page.Date false }} + {{ $created := $page.Date }} {{ $description := $page.Description | markdownify | plainify | htmlUnescape }} {{ $expires := cond (not $page.ExpiryDate.IsZero) $page.ExpiryDate false }} {{ $images := $page.Params.images | default slice }}