This repository was archived by the owner on Feb 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,25 @@ import tinytime from 'tinytime'
2
2
import Link from 'next/link'
3
3
import Head from 'next/head'
4
4
import getAllPostPreviews from '@/getAllPostPreviews'
5
+ import twitterCard from '@/img/twitter-card.jpg'
5
6
6
7
const posts = getAllPostPreviews ( )
7
8
8
9
export default function Home ( ) {
9
10
return (
10
11
< div className = "divide-y divide-gray-200" >
11
12
< Head >
13
+ < meta name = "twitter:card" content = "summary_large_image" />
14
+ < meta name = "twitter:site" content = "@tailwindcss" />
15
+ < meta name = "twitter:creator" content = "@tailwindcss" />
16
+ < meta name = "twitter:title" content = "Blog – Tailwind CSS" />
17
+ < meta name = "twitter:description" content = "News content from the Tailwind CSS team." />
18
+ < meta name = "twitter:image" content = { `https://blog.tailwindcss.com${ twitterCard } ` } />
19
+ < meta property = "og:url" content = "https://blog.tailwindcss.com" />
20
+ < meta property = "og:type" content = "article" />
21
+ < meta property = "og:title" content = "Blog – Tailwind CSS" />
22
+ < meta property = "og:description" content = "News content from the Tailwind CSS team." />
23
+ < meta property = "og:image" content = { `https://blog.tailwindcss.com${ twitterCard } ` } />
12
24
< title > Blog – Tailwind CSS</ title >
13
25
</ Head >
14
26
< div className = "pt-6 pb-8 space-y-2 md:space-y-5" >
You can’t perform that action at this time.
0 commit comments