Skip to content

Commit

Permalink
now: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
igor47 committed Mar 17, 2024
1 parent f3b37ab commit a995921
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/now.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -36,6 +33,7 @@ export default function Now({ post, body }: { post: Post, body: string }) {
<meta property="og:title" content="Igor's Now Page" key="title" />
<meta name="description" content="Igor Serebryany -- Now" key="description" />
<meta property="og:url" content="https://igor.moomers.org/now" key="url" />
{ ogImage }
</Head>

<main>
Expand Down

0 comments on commit a995921

Please sign in to comment.