middleman/middleman-core/fixtures/basic-data-app/source/data.html.erb

5 lines
117 B
Plaintext

<% if data.respond_to?(:test) %>
<%= data.test.map { |r| r.title }.join(":") %>
<% else %>
No Test Data
<% end %>