Page
Each pages
Debug Info
{
"_page": "all",
"assets": "../../assets",
"attributes": [
"attr1",
"attr2",
"attr3"
],
"basename": "lists",
"data": {
"title": "Almost a Haiku",
"attributes": [
"attr1",
"attr2",
"attr3"
],
"methods": [
"getter",
"setter"
],
"movies": [
"Casablanca",
"North by Northwest",
"The Man Who Wasn't There"
],
"groceries": [
"milk",
"pumpkin pie",
"eggs",
"juice"
],
"people": [
{
"name": "John Smith",
"age": 33
},
{
"name": "Mary Smith",
"age": 27
}
],
"men": [
"John Smith",
"Bill Jones"
],
"women": [
"Mary Smith",
"Susan Williams"
]
},
"dest": "test/actual/yfm/lists.html",
"dirname": "test/actual/yfm",
"ext": ".html",
"extname": ".html",
"filePair": {
"src": [
"test/fixtures/pages/yfm/associative-arrays.hbs",
"test/fixtures/pages/yfm/block-literals.hbs",
"test/fixtures/pages/yfm/comments.hbs",
"test/fixtures/pages/yfm/data-files.hbs",
"test/fixtures/pages/yfm/data-types.hbs",
"test/fixtures/pages/yfm/document.hbs",
"test/fixtures/pages/yfm/lists.hbs",
"test/fixtures/pages/yfm/relational-trees.hbs",
"test/fixtures/pages/yfm/underscore.hbs",
"test/fixtures/pages/yfm/variables.hbs"
],
"dest": "test/actual/yfm/",
"orig": {
"src": [
"test/fixtures/pages/yfm/*.hbs"
],
"dest": "test/actual/yfm/"
}
},
"filename": "lists.html",
"first": false,
"groceries": [
"milk",
"pumpkin pie",
"eggs",
"juice"
],
"index": 6,
"isCurrentPage": false,
"last": false,
"men": [
"John Smith",
"Bill Jones"
],
"methods": [
"getter",
"setter"
],
"middle": true,
"movies": [
"Casablanca",
"North by Northwest",
"The Man Who Wasn't There"
],
"next": 7,
"number": 7,
"page": "\n \n \n \n Layout filename: '{{layout}}'\n \n \n \n \n \n\n \n
\n
\n \n
\n \n\n {{pager pagination}}\n
\n\n
\n \n
\n \n
\n \n
\n
\n \n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n
\n
Attributes
\n
\n {{#each attributes}}- {{.}}
\n {{/each}}\n
\n
\n\n
\n\n
\n
Methods
\n
\n {{#each methods}}- {{.}}
\n {{/each}}\n
\n
\n\n
\n\n
\n
Lists
\n
Movies
\n
\n {{#each movies}}\n - Movie:
- {{.}}
\n {{/each}}\n
\n\n
Groceries
\n
\n {{#each groceries}}\n - Item:
- {{.}}
\n {{/each}}\n
\n
\n\n
\n\n
\n
Hierarchical combinations of elements
\n
Lists of associative arrays
\n
\n {{#each people}}\n - Name:
- {{name}}
\n - Age:
- {{age}}
\n {{/each}}\n
\n\n
Associative arrays of lists
\n
\n Men
\n {{#each men}}- Name:
- {{.}}
{{/each}}\n Women
\n {{#each women}}- Name:
- {{.}}
{{/each}}\n
\n
\n\n \n
\n\n
\n
\n\n
Page
\n \n
Each pages
\n
\n\n
Debug Info
\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n",
"pageName": "lists.html",
"pagename": "lists.html",
"people": [
{
"name": "John Smith",
"age": 33
},
{
"name": "Mary Smith",
"age": 27
}
],
"prev": 5,
"relativeLink": "lists.html",
"src": "test/fixtures/pages/yfm/lists.hbs",
"title": "Almost a Haiku",
"women": [
"Mary Smith",
"Susan Williams"
]
}