SEO images, remove services section (for the time being)
This commit is contained in:
@@ -7,7 +7,14 @@ import Analytics from "@components/Analytics.astro";
|
||||
import SEO from "@components/SEO.astro";
|
||||
import ThemeManager from "@components/ThemeManager.astro";
|
||||
|
||||
const { title, subtitle, description } = Astro.props;
|
||||
interface Props {
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
description?: string;
|
||||
image?: SiteImage;
|
||||
}
|
||||
|
||||
const { title, subtitle, description, image } = Astro.props;
|
||||
|
||||
// if a title is provided, use it as follows "title | site.title - site.suffix". If no title is provided, instead do "site.title - site.suffix"
|
||||
const headTitle: string =
|
||||
@@ -26,7 +33,7 @@ const headDescription: string = description || site.description;
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<link rel="apple-touch-icon" href="/favicon.png" />
|
||||
|
||||
<SEO title={headTitle} description={headDescription} />
|
||||
<SEO title={headTitle} description={headDescription} {image} />
|
||||
|
||||
<ThemeManager defaultTheme="auto" />
|
||||
|
||||
|
Reference in New Issue
Block a user