Update _schema_org.html.haml

This commit is contained in:
Daniel O'Connor
2025-11-30 13:26:37 +10:30
committed by GitHub
parent b204030f70
commit d570b27a7b

View File

@@ -1,8 +1,2 @@
- schema = {
- "@context": "https://schema.org",
- "@type": "BioChemEntity",
- "name": crop.name,
- "taxonomicRange": crop.scientific_names.map(&:name)
- }
%script{type: "application/ld+json"}
= schema.to_json.html_safe
= jsonld_data(crop).to_json.html_safe