mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
enterprise: add default social card images to HTML head
- Add og:image and twitter:image meta tags to entry-server - Provide fallback social card image for pages without specific social cards
This commit is contained in:
@@ -11,8 +11,6 @@ export default createHandler(() => (
|
||||
<title>OpenCode</title>
|
||||
<meta name="theme-color" content="#F8F7F7" />
|
||||
<meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
|
||||
<meta property="og:image" content="/social-share.png" />
|
||||
<meta property="twitter:image" content="/social-share.png" />
|
||||
{assets}
|
||||
</head>
|
||||
<body class="antialiased overscroll-none select-none text-12-regular">
|
||||
|
||||
Reference in New Issue
Block a user