From c33debf7492fe907b3df12a96403739add644816 Mon Sep 17 00:00:00 2001
From: Jrson <45284565+jrson83@users.noreply.github.com>
Date: Tue, 3 Oct 2023 02:38:31 +0200
Subject: [PATCH] fix: slug url replace
---
_config.ts | 1 +
src/_includes/layouts/root.tsx | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/_config.ts b/_config.ts
index 1c31c70..169fa17 100644
--- a/_config.ts
+++ b/_config.ts
@@ -36,6 +36,7 @@ site
.use(slugify_urls({
replace: {
"&": "and",
+ "@": "",
},
}))
.use(unified({
diff --git a/src/_includes/layouts/root.tsx b/src/_includes/layouts/root.tsx
index 52d4163..ed51323 100644
--- a/src/_includes/layouts/root.tsx
+++ b/src/_includes/layouts/root.tsx
@@ -77,7 +77,7 @@ export default (
{type && type === "post" && (
)}
@@ -90,7 +90,7 @@ export default (
{type && type === "post" && (
)}