diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index e133591..aa258d5 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -1,5 +1,4 @@ --- -import { ViewTransitions } from 'astro:transitions' import '../styles/fonts.css' import '../styles/global.css' @@ -10,7 +9,7 @@ export interface Props { } const { title, description, permalink } = Astro.props -const socialUrl = Astro.site.href + 'assets/yht_logo.png' +const socialUrl = Astro?.site?.href + 'assets/yht_logo.png' --- @@ -24,6 +23,10 @@ const socialUrl = Astro.site.href + 'assets/yht_logo.png' href={new URL("rss.xml", Astro.site)} /> + + + +