Update site URL

This commit is contained in:
Zoey 2022-12-14 15:43:15 -08:00
parent 8f5acb3e96
commit 44cb77ab3f
7 changed files with 8 additions and 8 deletions

2
Cargo.lock generated
View file

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

View file

@ -1,5 +1,5 @@
[package]
name = "zoey"
name = "zyl"
version = "0.1.0"
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.

View file

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

View file

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

View file

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

View file

@ -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(())