I am just starting to play around with ruby and Middleman.
Right now, I am trying to understand the Local Data operations.
Using the sample people.yaml:
friends:
- Tom
- Dick
- Harry
Everything works, using the:
<% data.people.friends.each do |f| %>
My question is trying to use:
friends:
- Tom
- Dick
- Harry
best_friend: Steve
How do you output best_friend?
Everything I have tried breaks my page.
And, every example I have seem across the net uses lists, and not a single item.
Thanks in advance!