diff --git a/src/components/ArchivePanel.astro b/src/components/ArchivePanel.astro index 33907f5..eeab882 100644 --- a/src/components/ArchivePanel.astro +++ b/src/components/ArchivePanel.astro @@ -7,7 +7,8 @@ interface Props { const { keyword, tags, categories} = Astro.props; import Button from "./control/Button.astro"; -import {getPostUrlBySlug, getSortedPosts} from "../utils/content-utils"; +import {getSortedPosts} from "../utils/content-utils"; +import {getPostUrlBySlug} from "../utils/url-utils"; let posts = await getSortedPosts() diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 18e69f4..93ccd45 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -19,10 +19,10 @@ function getLinkName(name: string) { } --- -
-