Update site URL

This commit is contained in:
Zoey 2022-12-14 15:43:15 -08:00
parent fe08da340f
commit 698cea9ab5
No known key found for this signature in database
GPG key ID: 0E87B6A5795E040B
7 changed files with 8 additions and 8 deletions

2
Cargo.lock generated
View file

@ -1941,7 +1941,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "zoey" name = "zyl"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",

View file

@ -1,5 +1,5 @@
[package] [package]
name = "zoey" name = "zyl"
version = "0.1.0" version = "0.1.0"
edition = "2018" edition = "2018"

View file

@ -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. Still in progress.

View file

@ -1,4 +1,4 @@
base_url: "https://zoey.dev" base_url: "https://zyl.gay"
title: Zyllian title: Zyllian
description: "Zoey's website." description: "Zoey's website."
sass_styles: [index.scss] sass_styles: [index.scss]

View file

@ -1 +1 @@
zoey.dev zyl.gay

View file

@ -1,6 +1,6 @@
use std::path::Path; use std::path::Path;
use zoey::Site; use zyl::Site;
#[cfg(feature = "serve")] #[cfg(feature = "serve")]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]

View file

@ -75,7 +75,7 @@ fn create(
builder.build_sass().context("Failed to rebuild Sass")?; builder.build_sass().context("Failed to rebuild Sass")?;
} }
} else if let Ok(root_path) = relative_path.strip_prefix(ROOT_PATH) { } 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(()) Ok(())