Support directory name as a data key

This commit is contained in:
Ryunosuke SATO 2013-03-23 17:13:05 +09:00
parent cd539f4e91
commit 1e64e8022e
5 changed files with 40 additions and 9 deletions

View file

@ -0,0 +1 @@
set :layout, false

View file

@ -0,0 +1 @@
title: "Hello"

View file

@ -0,0 +1 @@
<%= data.examples.map { |k, r| [k, r.title].join(":") }.join %>