diff --git a/ippisite/ippidb/templates/compound_card.html b/ippisite/ippidb/templates/compound_card.html index 3e0bb5c26cc170babfcf87e2127b586e2c761cd7..2ad8e23e8f93906d26df4058204d86cb4296cf55 100644 --- a/ippisite/ippidb/templates/compound_card.html +++ b/ippisite/ippidb/templates/compound_card.html @@ -468,6 +468,24 @@ </div> </div> +<script id='JSON_LD' type="application/ld+json"> + + { +"url": "{{ compound.get_absolute_url }}", +"inChI": "{{ compound.inchi }}", +"iupacName": "{{ compound.iupac_name }}", +"molecularWeight": {{ compound.molecular_weight }}, +"identifier": "{{ compound.id }}", +"inChIKey": "{{ compound.inchi }}", +"@type": "MolecularEntity", +"image": "https://www.ebi.ac.uk/chembl/api/data/image/CHEMBL3623057.svg", +"smiles": [ + "{{ compound.canonical_smile }}" +], +"@context": "http://schema.org" +} + +</script> <script> var showTab = function (hash) { window.location.hash = hash;