jongacnik/kirby2-spad

processing YAML formatted data

sonn-gamm opened this issue · 0 comments

hi!

i'm using kirby structure fields for some data, and spad simply processes them as one string, which because of the dash to divide each sub field, gets output as list items by markdown.

eg

----

Social:

-
  name: twitter
  url: ""
-
  name: facebook
  url: ""
-
  name: mixcloud
  url: ""
-
  name: instagram
  url: ""

----

Is this an example to handle by using a forEach filter? do you plan to include a structure field option in the plugin?

thanks,
af