Support directory name as a data key
This commit is contained in:
parent
cd539f4e91
commit
1e64e8022e
5 changed files with 40 additions and 9 deletions
1
middleman-core/fixtures/nested-data-app/config.rb
Normal file
1
middleman-core/fixtures/nested-data-app/config.rb
Normal file
|
@ -0,0 +1 @@
|
|||
set :layout, false
|
|
@ -0,0 +1 @@
|
|||
title: "Hello"
|
|
@ -0,0 +1 @@
|
|||
<%= data.examples.map { |k, r| [k, r.title].join(":") }.join %>
|
Loading…
Add table
Add a link
Reference in a new issue