From 554dbbb53a6b32fa243f256f2097d7f6e38c76d6 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 28 May 2022 09:50:27 -0400 Subject: [PATCH] fix sitemap Signed-off-by: Xe Iaso --- src/app/mod.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/mod.rs b/src/app/mod.rs index 87fec9c..7125cf8 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -133,7 +133,13 @@ pub async fn init(cfg: PathBuf) -> Result { urlwriter.url(*url)?; } - for post in &everything { + for post in &blog { + urlwriter.url(format!("https://xeiaso.net/{}", post.link))?; + } + for post in &gallery { + urlwriter.url(format!("https://xeiaso.net/{}", post.link))?; + } + for post in &talks { urlwriter.url(format!("https://xeiaso.net/{}", post.link))?; }