chore: feed date improvements

This commit is contained in:
Cory Dransfeldt 2023-09-06 13:46:16 -07:00
parent 46db92b948
commit f47c889725
No known key found for this signature in database
7 changed files with 50 additions and 33 deletions

View file

@ -3,10 +3,10 @@
<feed xmlns="http://www.w3.org/2005/Atom">
{% assign entries = data | normalizeEntries %}
<title>{{ title }}</title>
<link href="{{ site.url }}{{ permalink }}" rel="self" />
<link href="{{ permalink | absoluteUrl: site.url }}" rel="self" />
<link href="{{ site.url }}" />
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/" />
<updated>{{ updated | date: "%Y-%m-%dT%H:%M:%S-08:00" }}</updated>
<updated>{{ updated | stringToDate | dateToRfc822 }}</updated>
<id>{{ site.url }}</id>
<author>
<name>{{ site.name }}</name>
@ -20,6 +20,7 @@
<updated>{{ entry.date | date: "%m.%d.%Y" }}</updated>
<id>{{ entry.url | stripUtm | encodeAmp }}</id>
<content type="html">
{{ entry.excerpt | escape }}
</content>
</entry>
{%- endfor %}