rss: add publishing date
This commit is contained in:
parent
7d5d62efba
commit
b4140e95d3
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue