aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
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/app/mod.rs
parentff64215d07ee32d53e0a01adcaf0dd8cba273e81 (diff)
downloadxesite-bdc64f78f2aeca9730fb27a4c4511d90c93f9d89.tar.xz
xesite-bdc64f78f2aeca9730fb27a4c4511d90c93f9d89.zip
xeiaso.net
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r--src/app/mod.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index 1109b30..87fec9c 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -54,7 +54,7 @@ async fn patrons() -> Result<Option<patreon::Users>> {
}
}
-pub const ICON: &'static str = "https://christine.website/static/img/avatar.png";
+pub const ICON: &'static str = "https://xeiaso.net/static/img/avatar.png";
pub struct State {
pub cfg: Config,
@@ -106,12 +106,12 @@ pub async fn init(cfg: PathBuf) -> Result<State> {
.author(
jsonfeed::Author::new()
.name("Xe")
- .url("https://christine.website")
+ .url("https://xeiaso.net")
.avatar(ICON),
)
- .feed_url("https://christine.website/blog.json")
+ .feed_url("https://xeiaso.net/blog.json")
.user_comment("This is a JSON feed of my blogposts. For more information read: https://jsonfeed.org/version/1")
- .home_page_url("https://christine.website")
+ .home_page_url("https://xeiaso.net")
.icon(ICON)
.favicon(ICON);
@@ -124,17 +124,17 @@ pub async fn init(cfg: PathBuf) -> Result<State> {
let smw = sitemap::writer::SiteMapWriter::new(&mut sm);
let mut urlwriter = smw.start_urlset()?;
for url in &[
- "https://christine.website/resume",
- "https://christine.website/contact",
- "https://christine.website/",
- "https://christine.website/blog",
- "https://christine.website/signalboost",
+ "https://xeiaso.net/resume",
+ "https://xeiaso.net/contact",
+ "https://xeiaso.net/",
+ "https://xeiaso.net/blog",
+ "https://xeiaso.net/signalboost",
] {
urlwriter.url(*url)?;
}
for post in &everything {
- urlwriter.url(format!("https://christine.website/{}", post.link))?;
+ urlwriter.url(format!("https://xeiaso.net/{}", post.link))?;
}
urlwriter.end()?;