diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index bfa6b58..0c7d0e4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,13 +1,17 @@ --- import '@fortawesome/fontawesome-free/css/all.min.css'; +import '../styles/global.css'; import NavItems from '../components/NavItems.astro'; interface Props { title: string; + description: string; } -const { title } = Astro.props; +const { title, description } = Astro.props as Props; + +const metaTagTitle = `${title} - Spotify Playlist Archive`; --- @@ -17,38 +21,29 @@ const { title } = Astro.props; - - {title} - Spotify Playlist Archive - + + {metaTagTitle} + - - - + + + - + - - + + - +