Note that templates {{one}}, {{two}} and {{three}} get their data from "test/fixtures/data.yml".
When a data file is created with the name "data", it gives you access to the root of the context.
person.yml
Jon Schlinkert
animal.json
Aardvark
Kind of like an ant eater?
example.json
Congratulations! You have officially wasted time reading example content. But I'm sure it's time well wasted...
example.yml
Congratulations! You have officially wasted time reading example content. But I'm sure it's time well wasted...
Debug Info
{ _page: 'all',
dirname: 'test/actual/yfm',
filename: 'data-files.html',
pageName: 'data-files.html',
pagename: 'data-files.html',
basename: 'data-files',
src: 'test/fixtures/pages/yfm/data-files.hbs',
dest: 'test/actual/yfm/data-files.html',
assets: '../assets',
ext: '.html',
extname: '.html',
page: 'Note that templates \\{{one}}, \\{{two}} and \\{{three}} get their data from "test/fixtures/data.yml".\nWhen a data file is created with the name "data", it gives you access to the root of the context.
\n\n\n\n\n
person.yml
\n
{{person.name}}
\n
\n\n\n
contact.yml
\n
{{contact.phone}}
\n
\n\n\n
animal.json
\n
{{animal.type}}
\n
{{animal.description}}
\n
\n\n\n
example.json
\n
{{example.content}}
\n
\n\n\n
example.yml
\n
{{example.info}}
\n
\n',
data: {} }