summaryrefslogtreecommitdiff
path: root/posts/feed.njk
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2022-10-25 10:59:23 -0600
committerAlexis Hovorka <[email protected]>2022-10-25 10:59:23 -0600
commit85d82f4dfce3f2b791cffb6e3bcf70e0d0c6df25 (patch)
treea2ea2fac2334669616e6307fc3bc9a0c2528ae65 /posts/feed.njk
parent634301e45433bf06fcdae500d51275677e568adb (diff)
[feat] Add post dates
Diffstat (limited to 'posts/feed.njk')
-rw-r--r--posts/feed.njk1
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>