Loop array from front matter

Hi guys, I have front matter like this

    - ask: "Ask Me Why"
      answer: "Foo"
    - ask: "Don't Know Why"
      answer: "Bar"

my expectation is to get the form like below

   <p>Ask Me Why</p>

   <p>Don't Know Why</p>

the problem is I dont have any idea how to loop/range it. Any idea?


Ah, :grin: finaly found the answer from Using range, first and variable names with front matter arrays

1 Like