#Headless Drupal to Astro

2 messages · Page 1 of 1 (latest)

hollow lotus
#

Hey there ! I'm thinking about using Drupal to feed an Astro site. The pages are basically going to be built inside Drupal, adding different fields at will. It can provide content just fine with a api. The returned JSON can contain a lot of nested content.

I'm wondering how does this work with a framework like Astro. Is there a way to make template based on content fields ? Like render this field that way and that one diffently... going through all nested content. A field can contain multiple nested fields.

All the examples I see are specifically crafted content in which the fetched data is placed in expected places.

inner groveBOT
#
Still waiting for an answer?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.