Next.js: Open graph meta tags duplication in <head />

Created on 2 Jul 2017  路  4Comments  路  Source: vercel/next.js

Right now facebook Open Graph meta tags gets duplicated in head if several next <Head /> components used in one page.

<head>
  <meta property="og:title" content="Default Page Title" />
  <meta property="og:title" content="Current Page Title" />
</head>

This happens because property prop doesn't considered in head METATYPEs.
It should be super easy to fix.

Most helpful comment

@gbiryukov #2439

All 4 comments

@gbiryukov interesting. Let me have a look 馃憣

@gbiryukov #2439

good job, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenji4569 picture kenji4569  路  3Comments

timneutkens picture timneutkens  路  3Comments

lixiaoyan picture lixiaoyan  路  3Comments

knipferrc picture knipferrc  路  3Comments

rauchg picture rauchg  路  3Comments