diff --git a/src/pages/now.tsx b/src/pages/now.tsx index 939bebb..bf34566 100644 --- a/src/pages/now.tsx +++ b/src/pages/now.tsx @@ -1,12 +1,9 @@ import Head from 'next/head' -import Link from 'next/link' import { getPosts, makePostBody } from '@/lib/posts' import type { Post } from '@/lib/posts' -import dayjs from 'dayjs' export default function Now({ post, body }: { post: Post, body: string }) { - const date = dayjs(post.date) let titleClass = 'mb-3' let titleImage = null let ogImage = null @@ -36,6 +33,7 @@ export default function Now({ post, body }: { post: Post, body: string }) { + { ogImage }