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

5 lines
119 B
Text
Raw Normal View History

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