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

5 lines
No EOL
117 B
Text

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