diff --git a/src/components/Breadcrumb.astro b/src/components/Breadcrumb.astro
index 33b116c..9b74f3a 100644
--- a/src/components/Breadcrumb.astro
+++ b/src/components/Breadcrumb.astro
@@ -7,7 +7,7 @@ const {data} = Astro.props;
data.map((item: { title: string; link: string }) => {
return (
>
- {item.title}
+ {item.title}
)
})
}
diff --git a/src/pages/index.astro b/src/pages/index.astro
index a6f5c15..72c838a 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -241,7 +241,7 @@ const { code, data } = await newsIndex(config.id, 3, 1);
- {item.column_tag}
+ {item.column_tag}
diff --git a/src/pages/news/[...slug].astro b/src/pages/news/[...slug].astro
index c4d7ba3..43a3c42 100644
--- a/src/pages/news/[...slug].astro
+++ b/src/pages/news/[...slug].astro
@@ -11,16 +11,12 @@ if (!slug) {
return Astro.redirect("/404");
}
-if (slug == "seo_tech") {
- return Astro.rewrite("/");
-}
-
const { code, data } = await newsDetail(slug, config);
if (!data || code !== 0) {
return Astro.redirect("/404");
}
----
+---
+