RyanBoddy.net - Made with Sanity
A blog built using Sanity.io and Sveltekit
Go to RyanBoddy.netSanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Give your team exactly what they need to edit and publish their content with the customizable Sanity Studio. Get real-time collaboration out of the box. Sanity.io comes with a hosted datastore for JSON documents, query languages like GROQ and GraphQL, CDNs, on-demand asset transformations, presentation agnostic rich text, plugins, and much more.
Don't compromise on developer experience. Join thousands of developers and trusted companies and power your content with Sanity.io. Free to get started, pay-as-you-go on all plans.
Get more help in the community Slack
Topic | Categories | Featured | Replies | Last Updated |
---|---|---|---|---|
Hey! I decided to try and use GROQ in my svelte project and have hit a roadblock. I don’t understand how to correctly query... | Not featured | 5 | May 13, 2020 | Go to Hey! I decided to try and use GROQ in my svelte project and have hit a roadblock. I don’t understand how to correctly query for an unknown referenced document. I’m successfully querying blocks that use references (->) but I’m trying to do the same for a mark / link. If I console log the link currently it is only fetching ```{_key: "452dec4de1a3", _ref: "29e3b314-6983-46ce-8c3e-1d968ab74d22", _type: "linkInternal"}```
A blog built using Sanity.io and Sveltekit
Go to RyanBoddy.netA mommy blog with citizen journalism and pop lit mixed in.
Go to Brennan Harris Personal BlogRender Portable Text block content with Svelte components.
Go to PortableText to Svelte