Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshino-Yukitaro authored Sep 16, 2024
2 parents 8846050 + 22c222a commit f93648f
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 3 deletions.
4 changes: 1 addition & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export default defineConfig({
},
},
output: "hybrid",
adapter: cloudflare({
mode: "directory",
}),
adapter: cloudflare({ mode: "directory" }),
build: {
inlineStylesheets: "auto",
},
Expand Down
129 changes: 129 additions & 0 deletions functions/post/og/[ogtitle].tsx

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);
<meta property="og:url" content={Astro.url} />
<meta property="og:site_name" content="ゆっきーの砂場" />
<meta property="og:locale" content="ja_JP" />
<meta property="og:image" content={`https://yukky-sandbox.dev/post/og/${title}`} />
<meta property="og:image:width" content="800" />
<meta property="og:image:height" content="400" />
<meta property="twitter:site" content="@Yu_yukk_Y" />
<meta property="twitter:creator" content="@Yu_yukk_Y" />
<meta property="twitter:title" content={title} />
Expand Down

0 comments on commit f93648f

Please sign in to comment.