Skip to content

Commit 048a4cd

Browse files
committed
og image
1 parent 374f062 commit 048a4cd

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/content.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const writing = defineCollection({
1111
draft: z.boolean().default(false),
1212
repo: z.string().url().optional(),
1313
website: z.string().url().optional(),
14+
ogImage: z.string().optional(),
1415
}),
1516
});
1617

src/content/writing/ai-healthcare-workflows.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tags: ["healthcare", "fhir", "mcp", "api"]
66
repo: "https://github.com/donutdaniel/fhir-gateway"
77
website: "https://fhir-mcp.com"
88
draft: false
9+
ogImage: "/writing/ai-healthcare-workflows/prior-auth.png"
910
---
1011

1112
import FhirDiagram from "../../components/FhirDiagram.astro";

src/content/writing/git-gud.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: "Creating performant git commands for large monorepos."
44
pubDate: 2022-05-01T12:00:00Z
55
tags: ["git", "performance", "devtools"]
66
draft: false
7+
ogImage: "/writing/git-gud/an-example-monorepo.png"
78
---
89

910
Creating performant git commands.

src/pages/writing/[...slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { post } = Astro.props;
1515
const { Content, headings } = await render(post);
1616
---
1717

18-
<BaseLayout title={`${post.data.title} – daniel ho`} description={post.data.description}>
18+
<BaseLayout title={`${post.data.title} – daniel ho`} description={post.data.description} ogImage={post.data.ogImage}>
1919
<div class="post-header">
2020
<h1>{post.data.title}</h1>
2121
<div class="post-meta">

0 commit comments

Comments
 (0)