jongacnik / kirby2-spad

📄 Kirby single page app json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

processing YAML formatted data

sonn-gamm opened this issue · 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