Skip to content

Commit ccb1741

Browse files
authored
Add pre-generated OG image to latest post for testing (#968)
1 parent 004827f commit ccb1741

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/routes/posts/(2024)/github-copilot-context/meta.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import type { PostMeta } from '@maiertech/sveltekit-helpers';
2+
import ogImageUrl from './og-image.png';
3+
import { PUBLIC_URL_ORIGIN } from '$env/static/public';
24

35
export default {
46
title: 'How to provide better context in GitHub Copilot prompts',
@@ -8,5 +10,6 @@ export default {
810
'Learn to provide better context in GitHub Copilot prompts using inline chat, context shortcuts, chat participants, and project instructions for improved AI suggestions.',
911
tags: ['dx', 'ai', 'vscode'],
1012
path: '/posts/github-copilot-context',
13+
ogImageUrl: `${PUBLIC_URL_ORIGIN}${ogImageUrl}`,
1114
filepath: 'src/routes/posts/(2024)/github-copilot-context/+page.svx'
1215
} satisfies PostMeta;
209 KB
Loading

0 commit comments

Comments
 (0)