From bdc64f78f2aeca9730fb27a4c4511d90c93f9d89 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 28 May 2022 09:17:01 -0400 Subject: xeiaso.net Signed-off-by: Xe Iaso --- src/post/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/post') diff --git a/src/post/mod.rs b/src/post/mod.rs index a152bc9..3e4cb8a 100644 --- a/src/post/mod.rs +++ b/src/post/mod.rs @@ -31,14 +31,14 @@ impl Into for Post { let mut result = jsonfeed::Item::builder() .title(self.front_matter.title) .content_html(self.body_html) - .id(format!("https://christine.website/{}", self.link)) - .url(format!("https://christine.website/{}", self.link)) + .id(format!("https://xeiaso.net/{}", self.link)) + .url(format!("https://xeiaso.net/{}", self.link)) .date_published(self.date.to_rfc3339()) .author( jsonfeed::Author::new() .name("Xe Iaso") - .url("https://christine.website") - .avatar("https://christine.website/static/img/avatar.png"), + .url("https://xeiaso.net") + .avatar("https://xeiaso.net/static/img/avatar.png"), ); let mut tags: Vec = vec![]; @@ -105,7 +105,7 @@ async fn read_post(dir: &str, fname: PathBuf, cli: &Option) -> Resul let mentions: Vec = match cli { Some(cli) => cli - .mentioners(format!("https://christine.website/{}", link)) + .mentioners(format!("https://xeiaso.net/{}", link)) .await .map_err(|why| tracing::error!("error: can't load mentions for {}: {}", link, why)) .unwrap_or(vec![]) @@ -130,7 +130,7 @@ async fn read_post(dir: &str, fname: PathBuf, cli: &Option) -> Resul let new_post = NewPost { title: front_matter.title.clone(), summary: format!("{} minute read", read_time_estimate_minutes), - link: format!("https://christine.website/{}", link), + link: format!("https://xeiaso.net/{}", link), }; Ok(Post { -- cgit v1.2.3