diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 23b5b76..b36f4df 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -43,6 +43,7 @@ function isAboutPage(path: string) { const isPostActive = isHomePage(currentPath) || isPostPage(currentPath) const isTagActive = isTagPage(currentPath) const isAboutActive = isAboutPage(currentPath) + --- + + diff --git a/src/config.ts b/src/config.ts index d655ff5..a82f281 100644 --- a/src/config.ts +++ b/src/config.ts @@ -93,7 +93,6 @@ export const themeConfig: ThemeConfig = { // PRELOAD SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START preload: { - cdn: 'https://cdn.jsdelivr.net', // Keep the default CDN unless you can proxy https://cdn.jsdelivr.net/gh/radishzzz/astro-theme-retypeset/src/styles/EarlySummer.css commentURL: '', // https://comment.example.com/ imageHostURL: '', // https://image.example.com/ // If you proxy analytics requests to the custom domain, you can fill in below diff --git a/src/layouts/Head.astro b/src/layouts/Head.astro index 8c201fa..29e7e91 100644 --- a/src/layouts/Head.astro +++ b/src/layouts/Head.astro @@ -14,7 +14,7 @@ const { light: { background: lightMode }, dark: { background: darkMode } } = the const { locale, moreLocale } = themeConfig.global const { verification = {}, twitterID = '', googleAnalyticsID = '', umamiAnalyticsID = '' } = themeConfig.seo ?? {} const { google = '', bing = '', yandex = '', baidu = '' } = verification -const { cdn, commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '', customUmamiAnalyticsURL = '', customUmamiAnalyticsJS = '' } = themeConfig.preload +const { commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '', customUmamiAnalyticsURL = '', customUmamiAnalyticsJS = '' } = themeConfig.preload --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 7dfc880..6d9690f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -39,7 +39,7 @@ const postsByYear = await getPostsByYear() {/* Post Title */} {post.data.title} {/* Post Date */} -