aboutsummaryrefslogtreecommitdiff
path: root/src/post/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/mod.rs')
-rw-r--r--src/post/mod.rs12
1 files changed, 6 insertions, 6 deletions
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<jsonfeed::Item> 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<String> = vec![];
@@ -105,7 +105,7 @@ async fn read_post(dir: &str, fname: PathBuf, cli: &Option<mi::Client>) -> Resul
let mentions: Vec<mi::WebMention> = 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<mi::Client>) -> 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 {