diff options
| author | Xe Iaso <me@christine.website> | 2022-05-28 09:50:27 -0400 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-05-28 09:50:27 -0400 |
| commit | 554dbbb53a6b32fa243f256f2097d7f6e38c76d6 (patch) | |
| tree | 045be84c4d94e02727d158450d20734a872760a8 | |
| parent | 2d00c192054f36aace73d6334bc2d4cc8152f9cf (diff) | |
| download | xesite-554dbbb53a6b32fa243f256f2097d7f6e38c76d6.tar.xz xesite-554dbbb53a6b32fa243f256f2097d7f6e38c76d6.zip | |
fix sitemap
Signed-off-by: Xe Iaso <me@christine.website>
| -rw-r--r-- | src/app/mod.rs | 8 |
1 files changed, 7 insertions, 1 deletions
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<State> { 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))?; } |
