Form Update

This commit is contained in:
Greg Kilmer
2026-07-07 15:32:56 -04:00
parent cec1078d0e
commit 2e31aac9bf
9 changed files with 440 additions and 26 deletions
+5
View File
@@ -34,6 +34,9 @@ interface Props {
surface?: Surface;
/** Override default OG image path. */
ogImage?: string;
/** When true, emit <meta name="robots" content="noindex, nofollow">. Use on
pages that shouldn't be indexed (e.g. /contact, to reduce scraping). */
noindex?: boolean;
}
const {
@@ -41,6 +44,7 @@ const {
description = "Greg Kilmer is a software developer, maker, and tabletop gamemaster based in Philadelphia. This is where his professional and personal worlds meet.",
surface = "neutral",
ogImage,
noindex = false,
} = Astro.props;
// True on the Home page. Used to switch the NavBar's view-transition-name so
@@ -79,6 +83,7 @@ const ogImageUrl = ogImage
<title>{fullTitle}</title>
<meta name="description" content={description} />
<link rel="canonical" href={canonical} />
{noindex && <meta name="robots" content="noindex, nofollow" />}
<meta name="theme-color" content="#0b1026" />
<!-- Open Graph / social cards -->