diff --git a/.vscode/settings.json b/.vscode/settings.json index ccba829..ea9d405 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -63,6 +63,7 @@ "astrojs", "attributify", "bmoji", + "Frontmatter", "gtag", "katex", "Lightbox", @@ -76,6 +77,9 @@ "radishzz", "rehype", "Retypeset", + "Roundhand", + "STIX", + "titlebar", "Umami", "unocss", "vite", diff --git a/src/components/Header.astro b/src/components/Header.astro index 54a7633..aebcdcd 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -16,7 +16,10 @@ const marginBottom = {

- + {title}

diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index e55ff45..aa57847 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -3,21 +3,24 @@ import { getPagePath } from '@/utils/path' import { ui } from '@/utils/ui' const currentPath = Astro.url.pathname -const { currentLang, isHome, isPost, isTag, isAbout, getLocalizedPath } = getPagePath(currentPath) +const { currentLang, isHome, isPost, isTag, isAbout, getLocalizedPath } + = getPagePath(currentPath) const currentUI = ui[currentLang as keyof typeof ui] const isPostActive = isHome || isPost const isTagActive = isTag -const isAboutActive = isAbout +const isAboutActive = isAbout; --- -