rss: add publishing date

This commit is contained in:
Cadey Ratio 2020-07-14 16:30:43 -04:00
parent 7d5d62efba
commit b4140e95d3
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ impl Into<rss::Item> for Post {
result.guid(guid); result.guid(guid);
result.author(Some("me@christine.website".to_string())); result.author(Some("me@christine.website".to_string()));
result.content(self.body_html); result.content(self.body_html);
result.pub_date(self.front_matter.date);
result.build().unwrap() result.build().unwrap()
} }