willhardy / django-seo

Provides a set of tools for managing Search Engine Optimisation (SEO) for Django sites.
BSD 3-Clause "New" or "Revised" License
251 stars 117 forks source link

Add meta tag which uses the property instead of name attribute #37

Open alexjg opened 11 years ago

alexjg commented 11 years ago

At the moment the MetaTag metadata field renders

<meta name="somename" content="somecontent" />

Unfortunately this doesn't play nice with Facebooks meta tag requirements which need something like:

<meta property="somename" content="somevalue" />

So I've added a metadata field called OgMetaTag which renders as required but is otherwise identical to MetaTag.