Content API: access to structured data

It would be neat to have all the information we need to build our own structured data when we’re using the Content API. Or somehow have access to the JSON-LD data.

A good example would be that on index.html, I would love to access something like settings.url that would do the same as {{@blog.url}}, instead of using https:// + window.location.hostname. Most of the other structured data is available through either /posts/{id}/ or slug, but to build a working RSS feed with, ie, Nuxt I’d need an absolute URL for the blog. We’re already typing this in when we do ghost install, so it should be easy to add I think.


What specific structured data? You can already get a lot of data via settings.browse: