blaze-meta icon indicating copy to clipboard operation
blaze-meta copied to clipboard

Can't set property with same name. Visible only last one.

Open escaroda opened this issue 9 years ago • 1 comments

For example I need :

<meta property="og:image" content="http://example.com/rock.jpg" />
<meta property="og:image" content="http://example.com/rock2.jpg" />

So when I try:

Meta.set([
        {
          name: "property",
          property: "og:image",
          content: "http://example.com/rock.jpg"
        },
        {
          name: "property",
          property: "og:image",
          content: "http://example.com/rock2.jpg"
        },
])

The result is:

<meta property="og:image" content="http://example.com/rock2.jpg" />

Can we fix it? Or it's not easy thing? Seems like second property with the same name overwrite previous one.

escaroda avatar Sep 06 '15 17:09 escaroda

We keep key:value pairs for every key. We need to change our design, PRs welcomed :)

yasinuslu avatar Sep 06 '15 18:09 yasinuslu