Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,37 @@ export default defineConfig({
baseUrl: "https://github.com/plinth-dev/docs/edit/main/",
},
lastUpdated: true,
// og:image lands with the default OG card in Wave 4 once huashu-design
// produces /og-default.png. Until then no og:image is set (better than
// a 404'd image).
head: [
{
tag: "meta",
attrs: { name: "theme-color", content: "#FBFBF9" },
},
{
tag: "meta",
attrs: {
property: "og:image",
content: "https://plinth.run/og-default.png",
},
},
{
tag: "meta",
attrs: { property: "og:image:width", content: "1200" },
},
{
tag: "meta",
attrs: { property: "og:image:height", content: "630" },
},
{
tag: "meta",
attrs: {
name: "twitter:image",
content: "https://plinth.run/og-default.png",
},
},
{
tag: "meta",
attrs: { name: "twitter:card", content: "summary_large_image" },
},
{
tag: "link",
attrs: { rel: "preconnect", href: "https://fonts.googleapis.com" },
Expand Down
Loading