chore: misc cleanup

This commit is contained in:
Cory Dransfeldt 2024-11-17 14:05:53 -08:00
parent ff00020b70
commit c8f99441aa
No known key found for this signature in database
13 changed files with 178 additions and 271 deletions

View file

@ -5,23 +5,12 @@ import RecentActivity from "@components/home/RecentActivity.astro";
import RecentPosts from "@components/home/RecentPosts.astro";
import { fetchGlobalData } from "@utils/data/global/index.js";
export const prerender = true;
const { globals } = await fetchGlobalData(Astro);
const schema = "blog";
const pageTitle = globals.site_name;
const description = "This is a blog post description";
const ogImage = globals.cdn_url + globals.avatar;
const fullUrl = globals.url + "/blog/my-post";
const themeColor = globals.theme_color;
---
<Layout
pageTitle={pageTitle}
description={description}
ogImage={ogImage}
fullUrl={fullUrl}
themeColor={themeColor}
schema={schema}
>
<Layout>
<Intro intro={globals.intro} />
<RecentActivity />
<RecentPosts />