data.gov icon indicating copy to clipboard operation
data.gov copied to clipboard

Fix schema.org linkage

Open jbrown-xentity opened this issue 2 years ago • 1 comments

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

  1. 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.

jbrown-xentity avatar May 09 '23 17:05 jbrown-xentity

  • team agrees to pick this up after bulk of H2 work is complete

gujral-rei avatar May 02 '24 20:05 gujral-rei