Skip to content

Commit

Permalink
Added og images
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Dec 16, 2024
1 parent 40fe405 commit b7b08f5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions apps/evalite-docs/astro.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,50 @@ export default defineConfig({
baseUrl:
"https://github.com/mattpocock/evalite/edit/main/apps/evalite-docs",
},
head: [
{
tag: "meta",
attrs: {
property: "og:image",
},
content: "/og-image.jpg",
},
{
tag: "meta",
attrs: {
property: "og:image:width",
},
content: "1280",
},
{
tag: "meta",
attrs: {
property: "og:image:height",
},
content: "640",
},
{
tag: "meta",
attrs: {
property: "og:image:alt",
},
content: "Evalite Logo",
},
{
tag: "meta",
attrs: {
name: "twitter:card",
},
content: "summary_large_image",
},
{
tag: "meta",
attrs: {
name: "twitter:image",
},
content: "/og-image.jpg",
},
],
social: {
github: "https://github.com/mattpocock/evalite",
discord: "https://mattpocock.com/ai-discord",
Expand Down
Binary file added apps/evalite-docs/public/og-image.jpg
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 b7b08f5

Please sign in to comment.