Skip to content

Commit

Permalink
Added Metadata for image preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustBuddy committed Apr 1, 2024
1 parent bd5f922 commit b226474
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ export default defineConfig({
starlight({
title: 'BUDDYWORKS Docs',
favicon: '/favicon.ico',
description: 'All the details you could ever need.',
head: [
{
tag: 'meta',
attrs: {
name: 'og:image',
content: 'https://docs.buddyworks.wtf/og-image.png',
}
},
{
tag: 'meta',
attrs: {
name: 'twitter:image',
content: 'https://docs.buddyworks.wtf/og-image.png',
}
}
],
customCss: [
// Relative path to your custom CSS file
'./src/styles/custom.css',
Expand Down
Binary file added public/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b226474

Please sign in to comment.