kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

How to add attributes other than property and content? #198

Closed rajanverma-me closed 3 years ago

rajanverma-me commented 5 years ago

I need to add itemprop attribute to meta tag <meta property="og:image" itemprop="image" content="http://pollosweb.wesped.es/programa_pollos/play.png">

But by using method display_meta_tags

<%= display_meta_tags og: {
      image:  {
           _:   (asset_path 'image.png'),
        type:   'image/jpeg',
        width:  200,
        height:  200
      } 
    },
   itemprop: "image" 
  %>

its not helping and only creating the new meta tag with name itemprop. Please help.