kpumuk / meta-tags

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

Allow to specify custom tags that use `property` attribute instead of `name` #135

Closed snicky closed 7 years ago

snicky commented 7 years ago

Solves https://github.com/kpumuk/meta-tags/issues/134

Startouf commented 7 years ago

Maybe we should preconfigure the gem to use the property on metas that require it ? (cf brand, profile, etc.) ?

kpumuk commented 7 years ago

Thank you. I have made couple changes to your code to support all Open Graph object types out of the box (and renamed config option to property_tags). You can check the changes in https://github.com/kpumuk/meta-tags/commit/e36406d572925959378ac55ba1426825c2336fd7

Thank you for your contribution!