fix title of rss feed
This commit is contained in:
parent
ee9c5fbdd1
commit
5400166c2e
1 changed files with 3 additions and 1 deletions
|
@ -201,8 +201,9 @@ fn build_rss(config: Config, info: ConnectionInfo) -> String {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
let title = "Blog d'Anri";
|
||||
let channel = Channel {
|
||||
title: "Blog d'Anri".into(),
|
||||
title: title.to_owned(),
|
||||
link: link_to_site.to_owned(),
|
||||
description: "Un fil qui parle d'informatique notamment".into(),
|
||||
language: Some("fr".into()),
|
||||
|
@ -220,6 +221,7 @@ fn build_rss(config: Config, info: ConnectionInfo) -> String {
|
|||
docs: Some("https://www.rssboard.org/rss-specification".into()),
|
||||
image: Some(Image {
|
||||
url: format!("{}/icons/favicon-32x32.png", link_to_site),
|
||||
title: title.to_owned(),
|
||||
link: link_to_site.to_owned(),
|
||||
..Image::default()
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue