Page layout: default.hbs

Page src: test/fixtures/pages/yfm/associative-arrays.hbs

Page dest: test/actual/yfm/associative-arrays.html

Dest filename: associative-arrays.html

Dest basename: associative-arrays

Page title: Associative arrays



Associative arrays

Name:
John Smith
Age:
33
Name:
Grace Jones
Age:
21

Content


Page

Each pages

Debug Info


{
  "_page": "all",
  "assets": "../../assets",
  "basename": "associative-arrays",
  "data": {
    "title": "Associative arrays",
    "people": {
      "name": "John Smith",
      "age": 33
    },
    "morePeople": {
      "name": "Grace Jones",
      "age": 21
    }
  },
  "dest": "test/actual/yfm/associative-arrays.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": "associative-arrays.html",
  "first": true,
  "index": 0,
  "last": false,
  "middle": false,
  "morePeople": {
    "name": "Grace Jones",
    "age": 21
  },
  "next": 1,
  "number": 1,
  "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

Associative arrays

\n
\n {{#people}}\n
Name:
{{name}}
\n
Age:
{{age}}
\n {{/people}}\n {{#morePeople}}\n
Name:
{{name}}
\n
Age:
{{age}}
\n {{/morePeople}}\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": "associative-arrays.html", "pagename": "associative-arrays.html", "people": { "name": "John Smith", "age": 33 }, "src": "test/fixtures/pages/yfm/associative-arrays.hbs", "title": "Associative arrays" }