diff --git a/Cargo.lock b/Cargo.lock index 66afbf3..b95604f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1941,7 +1941,7 @@ dependencies = [ ] [[package]] -name = "zoey" +name = "zyl" version = "0.1.0" dependencies = [ "anyhow", diff --git a/Cargo.toml b/Cargo.toml index da2a836..1ef1f05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "zoey" +name = "zyl" version = "0.1.0" edition = "2018" diff --git a/README.md b/README.md index dd181e7..727dd73 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# zoey.dev +# zyl.gay -Source for my website (located at [zoey.dev](https://zoey.dev)) and the custom static site generator I've built alongside it. +Source for my website (located at [zyl.gay](https://zyl.gay)) and the custom static site generator I've built alongside it. Still in progress. diff --git a/site/config.yaml b/site/config.yaml index 562b649..4c50fff 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -1,4 +1,4 @@ -base_url: "https://zoey.dev" +base_url: "https://zyl.gay" title: Zyllian description: "Zoey's website." sass_styles: [index.scss] diff --git a/site/root/CNAME b/site/root/CNAME index f358492..4bb0531 100644 --- a/site/root/CNAME +++ b/site/root/CNAME @@ -1 +1 @@ -zoey.dev +zyl.gay diff --git a/src/main.rs b/src/main.rs index 61d9711..626c490 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use std::path::Path; -use zoey::Site; +use zyl::Site; #[cfg(feature = "serve")] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] diff --git a/src/serving.rs b/src/serving.rs index 6d70e43..68d506e 100644 --- a/src/serving.rs +++ b/src/serving.rs @@ -75,7 +75,7 @@ fn create( builder.build_sass().context("Failed to rebuild Sass")?; } } else if let Ok(root_path) = relative_path.strip_prefix(ROOT_PATH) { - std::fs::copy(&path, builder.build_path.join(root_path))?; + std::fs::copy(path, builder.build_path.join(root_path))?; } Ok(())