data.gov
data.gov copied to clipboard
Fix schema.org linkage
We've found that we don't have the schema.org stuff in our data pages anymore. We install dcat, and it's in our plugins, but it doesn't come through on the dataset page.
How to reproduce
- Go to https://catalog.data.gov/dataset/electric-vehicle-population-data
Expected behavior
Find script tag script type="application/ld+json" in html
Actual behavior
No script of ld+json
Sketch
We think we're overriding this poorly, need to investigate: https://github.com/GSA/ckanext-datagovtheme/blob/main/ckanext/datagovtheme/templates/package/read_base.html It could also be that changing the order of the extensions may have the desired affects (ie dcat integrates with ckan, then we blow the whole thing away in datagovtheme), so changing the plugin order may make a difference.
- team agrees to pick this up after bulk of H2 work is complete