diff --git a/src/config.ts b/src/config.ts index 1dd72e9..d3adb45 100644 --- a/src/config.ts +++ b/src/config.ts @@ -3,6 +3,7 @@ import JaipurPhoto from "@assets/jaipur.jpg" export const config = { siteTitle: "UbuCon Asia 2024", + siteDescription: "JECRC University, Jaipur, India | August 31st - September 2nd", blog: { rssFeedUrl: "https://blog.ubucon.asia/tags/uca24/index.xml", viewMoreUrl: "https://blog.ubucon.asia/tags/uca24" diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index a970829..72114cc 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,9 +2,10 @@ import "vanilla-framework/_index.scss"; interface Props { title: string; + description: string; } -const { title } = Astro.props; +const { title, description } = Astro.props; --- @@ -12,7 +13,7 @@ const { title } = Astro.props;
- + diff --git a/src/layouts/MarkdownLayout.astro b/src/layouts/MarkdownLayout.astro index 13e68b4..4052d26 100644 --- a/src/layouts/MarkdownLayout.astro +++ b/src/layouts/MarkdownLayout.astro @@ -15,7 +15,7 @@ type Props = MarkdownLayoutProps<{ const { frontmatter } = Astro.props; --- -{frontmatter.description}
diff --git a/src/layouts/Shell.astro b/src/layouts/Shell.astro index 83e53e1..b107a58 100644 --- a/src/layouts/Shell.astro +++ b/src/layouts/Shell.astro @@ -4,14 +4,15 @@ import GlobalNavigation from "@components/GlobalNavigation.tsx"; import Layout from "@layouts/Layout.astro"; interface Props { - title: string; + title?: string; + description?: string; } -const { title } = Astro.props; +const { title, description } = Astro.props; import { config } from "../config"; --- -