aboutsummaryrefslogtreecommitdiff
path: root/src/post
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-05-28 09:17:01 -0400
committerXe Iaso <me@christine.website>2022-05-28 09:17:01 -0400
commitbdc64f78f2aeca9730fb27a4c4511d90c93f9d89 (patch)
tree9bc510df9fecff9827c963cda2062ef1a28ca505 /src/post
parentff64215d07ee32d53e0a01adcaf0dd8cba273e81 (diff)
downloadxesite-bdc64f78f2aeca9730fb27a4c4511d90c93f9d89.tar.xz
xesite-bdc64f78f2aeca9730fb27a4c4511d90c93f9d89.zip
xeiaso.net
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/post')
-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 {