diff options
author | Alexis Hovorka <[email protected]> | 2022-10-25 10:59:23 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2022-10-25 10:59:23 -0600 |
commit | 85d82f4dfce3f2b791cffb6e3bcf70e0d0c6df25 (patch) | |
tree | a2ea2fac2334669616e6307fc3bc9a0c2528ae65 /posts/feed.njk | |
parent | 634301e45433bf06fcdae500d51275677e568adb (diff) |
[feat] Add post dates
Diffstat (limited to 'posts/feed.njk')
-rw-r--r-- | posts/feed.njk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/posts/feed.njk b/posts/feed.njk index 1ad22fa..fc3abd7 100644 --- a/posts/feed.njk +++ b/posts/feed.njk @@ -23,6 +23,7 @@ <entry> <title>{{ post.data.title }}</title> <link href="{{ absolutePostUrl }}"/> + {% set postDate = post.date.setUTCHours(7) -%} <updated>{{ post.date | dateToRfc3339 }}</updated> <id>{{ absolutePostUrl }}</id> <content type="html"><![CDATA[{{ post | excerpt | htmlToAbsoluteUrls(absolutePostUrl) | demark | safe }}<p><a href="{{ absolutePostUrl }}">Read the full post online</a></p>]]></content> |