2015-05-05 7 views
9

Ich versuche, einige schema.org Sachen zu meiner Website hinzufügen und die Rasiermesseransicht-Engine gibt mir Probleme. Hier ist, was ich versuche zu meinem Haupt-Layout hinzuzufügen:Kompilierungsfehler mit ld + json Skript und Rasierer Ansichten

<script type="application/ld+json"> 
     { 
     "@context": "http://schema.org", 
     "@type": "Organization", 
     "url": "http://www.example.com", 
     "logo": "http://www.example.com/media.ashx/repzio-icon.png" 
     } 
    </script> 

Die @context ist das Problem hier, wie bekomme ich um dieses?

Antwort

20

Flucht mit @@:

Markup

<script type="application/ld+json"> 
     { 
     "@@context": "http://schema.org", 
     "@@type": "Organization", 
     "url": "http://www.example.com", 
     "logo": "http://www.example.com/media.ashx/repzio-icon.png" 
     } 
    </script> 

View Source

Source