Page layout: default.hbs

Page src: test/fixtures/pages/yfm/lists.hbs

Page dest: test/actual/yfm/lists.html

Dest filename: lists.html

Dest basename: lists

Page title: Almost a Haiku



Attributes

  • attr1
  • attr2
  • attr3

Methods

  • getter
  • setter

Lists

Movies

Movie:
Casablanca
Movie:
North by Northwest
Movie:
The Man Who Wasn't There

Groceries

Item:
milk
Item:
pumpkin pie
Item:
eggs
Item:
juice

Hierarchical combinations of elements

Lists of associative arrays

Name:
John Smith
Age:
33
Name:
Mary Smith
Age:
27

Associative arrays of lists

Men
Name:
John Smith
Name:
Bill Jones
Women
Name:
Mary Smith
Name:
Susan Williams

Content


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

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\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

{{{title}}}

\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

Content

\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" ] }