Use blog updated if exists

This commit is contained in:
Jonny Gerig Meyer 2023-04-04 18:05:24 -04:00
parent 72721bb025
commit fa68a84370
No known key found for this signature in database

View File

@ -24,7 +24,7 @@ eleventyExcludeFromCollections: true
<link href="{{ absolutePostUrl }}" rel="alternate"/>
<id>{{ absolutePostUrl }}</id>
<published>{{ post.date | dateToRfc3339 }}</published>
<updated>{{ post.date | dateToRfc3339 }}</updated>
<updated>{{ post.data.updated | default: post.date | dateToRfc3339 }}</updated>
<author>
<name>{{ post.data.author }}</name>
</author>