internetofwater / geoconnex.us

URI registry for https://geoconnex.us based URIs
Other
24 stars 16 forks source link

Add href from JSON to html template. #137

Closed dblodgett-usgs closed 2 years ago

dblodgett-usgs commented 2 years ago

There is an href in the json for a collection. e.g. https://reference.geoconnex.us/collections/gages?f=json

But the html doesn't render that link. Maybe add it as a "More info" on the same line as the title?

This should also get added to the discovery app as well.

ksonda commented 2 years ago

need to add something like the relevant section from the stock template here

https://github.com/geopython/pygeoapi/blob/master/pygeoapi/templates/collections/collection.html#L62

to our template

https://github.com/internetofwater/geoconnex.us/blob/master/pygeoapi/pygeoapi-skin-dashboard/templates/collections/collection.html#L18

ksonda commented 2 years ago

@webb-ben if you have time could you take stab. I think we'd want to pipe in the href of the link with rel: "canonical" into a a label "(data source)" concatenated onto the title or description element