Skip to content

Commit

Permalink
agrego metas title descripton and image
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignaherrero committed Apr 30, 2022
1 parent c8ff486 commit 395a59a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/posts/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ export default function Posts({ post }) {
<>
<Head>
<title>{post.title}</title>
<meta name="title" content={post.metas.title} />
<meta name="description" content={post.metas.description} />
<meta name="image" content={post.metas.image} />
<meta property="og:title" content={post.metas.title} />
<meta property="og:type" content={post.metas.type} />
<meta property="og:description" content={post.metas.description} />
<meta property="og:image" content={post.metas.image} />
<meta property="og:site_name" content={post.metas.site_name} />
<meta property="og:description" content={post.metas.description} />
<meta property="og:image" content={post.metas.image} />
</Head>

Expand Down

1 comment on commit 395a59a

@vercel
Copy link

@vercel vercel bot commented on 395a59a Apr 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

challenge-atomik – ./

challenge-atomik.vercel.app
challenge-atomik-nacho93.vercel.app
challenge-atomik-git-main-nacho93.vercel.app

Please sign in to comment.