mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-28 06:08:13 -05:00
Add a few more og properties
This commit is contained in:
@@ -20,10 +20,13 @@ export const meta: MetaFunction = (args) => {
|
||||
|
||||
return {
|
||||
title: makeTitle(data.title),
|
||||
"og:title": data.title,
|
||||
description,
|
||||
"og:description": description,
|
||||
"twitter:card": "summary_large_image",
|
||||
"og:image": articlePreviewUrl(args.params["slug"]),
|
||||
"og:type": "article",
|
||||
"og:site_name": "sendou.ink",
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ export function articleBySlug(slug: string) {
|
||||
|
||||
return {
|
||||
content,
|
||||
date,
|
||||
dateString: date.toLocaleDateString("en-US", {
|
||||
day: "2-digit",
|
||||
month: "long",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 166 KiB |
Reference in New Issue
Block a user