- Added ogImages integration to generate Open Graph images for blog posts. - Updated configuration to include Open Graph settings and default preview image. - Refactored Head component to utilize new preview property for Open Graph meta tags. - Enhanced blog post schema to include preview image for structured data representation. - Introduced utility functions for creating Open Graph images with dynamic content.
28 lines
959 B
Plaintext
28 lines
959 B
Plaintext
---
|
||
import { config } from "../config";
|
||
import LatestPostsSection from "../components/Sections/LatestPosts.astro";
|
||
import Layout from "../layouts/BaseLayout.astro";
|
||
import pageSchema from "../utils/schemas/pageSchema";
|
||
import SocialLinksSection from "../components/Sections/SocialLinks.astro";
|
||
import WelcomeSection from "../components/Sections/Welcome.astro";
|
||
|
||
const title = "Valentin Popov – Software Developer & Team Lead | Tech Insights";
|
||
const description = "Blog by Valentin Popov — software developer and team lead writing about code, side projects, digital tools, and fun experiments.";
|
||
const preview = config.og.defaultPreview;
|
||
const lang = "en";
|
||
|
||
const schema = pageSchema({
|
||
siteUrl: new URL("/", Astro.site).toString(),
|
||
page: "/",
|
||
title,
|
||
description,
|
||
lang,
|
||
});
|
||
---
|
||
|
||
<Layout title={title} description={description} preview={preview} lang={lang} schema={schema}>
|
||
<WelcomeSection />
|
||
<SocialLinksSection />
|
||
<LatestPostsSection />
|
||
</Layout>
|