Add a few more og properties

This commit is contained in:
Kalle
2022-08-20 16:44:58 +03:00
parent 009c2a3e24
commit 806aabd4e1
3 changed files with 4 additions and 0 deletions

View File

@@ -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",
};
};

View File

@@ -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