diff --git a/test/actual/assets_base.html b/test/actual/assets_base.html index 0900fd0da..0ea0ae670 100644 --- a/test/actual/assets_base.html +++ b/test/actual/assets_base.html @@ -12,7 +12,7 @@
-

test/fixtures/assets_path/assets.hbs → +

test/fixtures/assets_path/assets.hbstest/actual/assets_base.html

@@ -73,22 +73,13 @@

test/fixtures/assets_path/assets.hbs &#x
-

- Page layout: default.hbs -

-

+

Page layout: default.hbs

Page src: test/fixtures/assets_path/assets.hbs

-

- Page dest: test/actual/assets_base.html -

-

+

Page dest: test/actual/assets_base.html

Dest filename: assets_base.html

-

- Dest basename: assets -

-

+

Dest basename: assets

Page title: (no title defined)

@@ -114,7 +105,7 @@

Same Folder

Content


@@ -153,7 +144,7 @@

Page

-->

Each pages

    -
  • assets
  • +
  • assets_base.html
  • \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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n + "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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n

    Same Folder

    \n

    Assets folder is in the same dir as dest files.

    \n
    \nassets_base: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n

    Project Root

    \n @@ -222,17 +213,18 @@

    Project Root With Slash

    \n

    Assets folder is in the project rool, which is not the same dir as the dest files.

    \n
    \nassets_dot_slash: {\n  options: {assets: './'},\n  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n

    Same Folder With Slash

    \n

    Assets folder is in the same dir as dest files

    \n
    \nassets_blank_path: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_blank_path}}\n\n -
    \n +
    \n

    Content

    \n
    \n \n\n +
  • {{filename}}
  • \n {{/each}}\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 diff --git a/test/actual/assets_blank_path.html b/test/actual/assets_blank_path.html index 5cdbaaad7..08c6f8ec6 100644 --- a/test/actual/assets_blank_path.html +++ b/test/actual/assets_blank_path.html @@ -12,7 +12,7 @@
-

test/fixtures/assets_path/assets.hbs → +

test/fixtures/assets_path/assets.hbstest/actual/assets_blank_path.html

@@ -73,22 +73,13 @@

test/fixtures/assets_path/assets.hbs &#x
-

- Page layout: default.hbs -

-

+

Page layout: default.hbs

Page src: test/fixtures/assets_path/assets.hbs

-

- Page dest: test/actual/assets_blank_path.html -

-

+

Page dest: test/actual/assets_blank_path.html

Dest filename: assets_blank_path.html

-

- Dest basename: assets -

-

+

Dest basename: assets

Page title: (no title defined)

@@ -114,7 +105,7 @@

Same Folder With Slash

Content


@@ -153,7 +144,7 @@

Page

-->

Each pages

    -
  • assets
  • +
  • assets_blank_path.html
  • \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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n + "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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n

    Same Folder

    \n

    Assets folder is in the same dir as dest files.

    \n
    \nassets_base: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n

    Project Root

    \n @@ -222,17 +213,18 @@

    Project Root With Slash

    \n

    Assets folder is in the project rool, which is not the same dir as the dest files.

    \n
    \nassets_dot_slash: {\n  options: {assets: './'},\n  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n

    Same Folder With Slash

    \n

    Assets folder is in the same dir as dest files

    \n
    \nassets_blank_path: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_blank_path}}\n\n -
    \n +
    \n

    Content

    \n
    \n \n\n +
  • {{filename}}
  • \n {{/each}}\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 diff --git a/test/actual/assets_dot_slash.html b/test/actual/assets_dot_slash.html index 0a6810f7d..c69b86dc5 100644 --- a/test/actual/assets_dot_slash.html +++ b/test/actual/assets_dot_slash.html @@ -12,7 +12,7 @@
-

test/fixtures/assets_path/assets.hbs → +

test/fixtures/assets_path/assets.hbstest/actual/assets_dot_slash.html

@@ -73,22 +73,13 @@

test/fixtures/assets_path/assets.hbs &#x
-

- Page layout: default.hbs -

-

+

Page layout: default.hbs

Page src: test/fixtures/assets_path/assets.hbs

-

- Page dest: test/actual/assets_dot_slash.html -

-

+

Page dest: test/actual/assets_dot_slash.html

Dest filename: assets_dot_slash.html

-

- Dest basename: assets -

-

+

Dest basename: assets

Page title: (no title defined)

@@ -114,7 +105,7 @@

Project Root With Slash

Content


@@ -153,7 +144,7 @@

Page

-->

Each pages

    -
  • assets
  • +
  • assets_dot_slash.html
  • \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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n + "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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n

    Same Folder

    \n

    Assets folder is in the same dir as dest files.

    \n
    \nassets_base: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n

    Project Root

    \n @@ -222,17 +213,18 @@

    Project Root With Slash

    \n

    Assets folder is in the project rool, which is not the same dir as the dest files.

    \n
    \nassets_dot_slash: {\n  options: {assets: './'},\n  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n

    Same Folder With Slash

    \n

    Assets folder is in the same dir as dest files

    \n
    \nassets_blank_path: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_blank_path}}\n\n -
    \n +
    \n

    Content

    \n
    \n \n\n +
  • {{filename}}
  • \n {{/each}}\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 diff --git a/test/actual/assets_nested.html b/test/actual/assets_nested.html index fe89a5711..8bc53ba51 100644 --- a/test/actual/assets_nested.html +++ b/test/actual/assets_nested.html @@ -12,7 +12,7 @@
-

test/fixtures/assets_path/assets.hbs → +

test/fixtures/assets_path/assets.hbstest/actual/assets_nested.html

@@ -73,22 +73,13 @@

test/fixtures/assets_path/assets.hbs &#x
-

- Page layout: default.hbs -

-

+

Page layout: default.hbs

Page src: test/fixtures/assets_path/assets.hbs

-

- Page dest: test/actual/assets_nested.html -

-

+

Page dest: test/actual/assets_nested.html

Dest filename: assets_nested.html

-

- Dest basename: assets -

-

+

Dest basename: assets

Page title: (no title defined)

@@ -118,7 +109,7 @@

"Public" Folder

Content


@@ -157,7 +148,7 @@

Page

-->

Each pages

    -
  • assets
  • +
  • assets_nested.html
  • \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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n + "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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n

    Same Folder

    \n

    Assets folder is in the same dir as dest files.

    \n
    \nassets_base: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n

    Project Root

    \n @@ -226,17 +217,18 @@

    Project Root With Slash

    \n

    Assets folder is in the project rool, which is not the same dir as the dest files.

    \n
    \nassets_dot_slash: {\n  options: {assets: './'},\n  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n

    Same Folder With Slash

    \n

    Assets folder is in the same dir as dest files

    \n
    \nassets_blank_path: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_blank_path}}\n\n -
    \n +
    \n

    Content

    \n
    \n \n\n +
  • {{filename}}
  • \n {{/each}}\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 diff --git a/test/actual/assets_trailing_slash.html b/test/actual/assets_trailing_slash.html index 059a44d4e..c79f7ac29 100644 --- a/test/actual/assets_trailing_slash.html +++ b/test/actual/assets_trailing_slash.html @@ -12,7 +12,7 @@
-

test/fixtures/assets_path/assets.hbs → +

test/fixtures/assets_path/assets.hbstest/actual/assets_trailing_slash.html

@@ -73,22 +73,13 @@

test/fixtures/assets_path/assets.hbs &#x
-

- Page layout: default.hbs -

-

+

Page layout: default.hbs

Page src: test/fixtures/assets_path/assets.hbs

-

- Page dest: test/actual/assets_trailing_slash.html -

-

+

Page dest: test/actual/assets_trailing_slash.html

Dest filename: assets_trailing_slash.html

-

- Dest basename: assets -

-

+

Dest basename: assets

Page title: (no title defined)

@@ -114,7 +105,7 @@

Project Root

Content


@@ -153,7 +144,7 @@

Page

-->

Each pages

    -
  • assets
  • +
  • assets_trailing_slash.html
  • \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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n + "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

    Examples to test the \"relative\" and \"assets\" variables, and to show how they work

    \n\n{{#assets_nested}}\n

    \"Public\" Folder

    \n

    Public (assets) folder is in the project root

    \n
    \noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n  options: {assets: 'test/actual/public'},\n  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_nested}}\n\n\n{{#assets_base}}\n

    Same Folder

    \n

    Assets folder is in the same dir as dest files.

    \n
    \nassets_base: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n
    \n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n

    Project Root

    \n @@ -222,17 +213,18 @@

    Project Root With Slash

    \n

    Assets folder is in the project rool, which is not the same dir as the dest files.

    \n
    \nassets_dot_slash: {\n  options: {assets: './'},\n  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n

    Same Folder With Slash

    \n

    Assets folder is in the same dir as dest files

    \n
    \nassets_blank_path: {\n  options: {assets: 'test/actual'},\n  files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n
    \n{{/assets_blank_path}}\n\n -
    \n +
    \n

    Content

    \n
    \n \n\n +
  • {{filename}}
  • \n {{/each}}\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 diff --git a/test/actual/collections/asc/alert.html b/test/actual/collections/asc/alert.html index 3b07fc9b6..a9cc3214e 100644 --- a/test/actual/collections/asc/alert.html +++ b/test/actual/collections/asc/alert.html @@ -12,7 +12,7 @@
-

test/fixtures/pages/alert.hbs → +

test/fixtures/pages/alert.hbstest/actual/collections/asc/alert.html

@@ -32,43 +32,49 @@

test/fixtures/pages/alert.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/collections-pages.hbs +

    +

    Page dest: test/actual/collections/asc/collections-pages.html

    + Dest filename: collections-pages.html +

    +

    Dest basename: collections-pages

    + Page title: Pages Collection +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 1 +

    +
    +
    + pages +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    + +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "collections-pages",
    +  "data": {
    +    "title": "Pages Collection",
    +    "tags": [
    +      "pages"
    +    ]
    +  },
    +  "dest": "test/actual/collections/asc/collections-pages.html",
    +  "dirname": "test/actual/collections/asc",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/asc/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/asc/"
    +    }
    +  },
    +  "filename": "collections-pages.html",
    +  "first": false,
    +  "index": 2,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 3,
    +  "number": 3,
    +  "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
    \n

    {{title}}

    \n
    \n
    \n {{#each pages}}\n {{{data.title}}}\n {{/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": "collections-pages.html", + "pagename": "collections-pages.html", + "prev": 1, + "relativeLink": "collections-pages.html", + "src": "test/fixtures/pages/collections-pages.hbs", + "tags": [ + "pages" + ], + "title": "Pages Collection" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/collections/asc/collections-tags.html b/test/actual/collections/asc/collections-tags.html index e873d0d41..ffc072780 100644 --- a/test/actual/collections/asc/collections-tags.html +++ b/test/actual/collections/asc/collections-tags.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections-tags.hbs → +

    test/fixtures/pages/collections-tags.hbstest/actual/collections/asc/collections-tags.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/collections-tags.hbs First
  • 1 @@ -31,38 +31,44 @@

    test/fixtures/pages/collections-tags.hbs
  • 2
  • +
  • + 3 +
  • - 3 + 4 +
  • +
  • + 5
  • - 4 + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • - 3 + 4
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/collections-tags.hbs
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/collections-tags.hbs

    -

    - Page dest: test/actual/collections/asc/collections-tags.html -

    -

    +

    Page dest: test/actual/collections/asc/collections-tags.html

    Dest filename: collections-tags.html

    -

    - Dest basename: collections-tags -

    -

    +

    Dest basename: collections-tags

    Page title: Tags Test

    @@ -193,71 +192,71 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    Related pages for: markdown
    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -284,7 +283,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -301,14 +300,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -320,12 +320,12 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    @@ -333,32 +333,32 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    @@ -366,7 +366,12 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • + +
    Related pages for: pages +
    +
    Related pages for: tags
    @@ -374,17 +379,17 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: test
    Related pages for: tests
    Related pages for: three
    @@ -423,33 +428,36 @@

    Tags

    md one - tags + pages - test - tests + tags + test - three - two + tests + three + two

    Content


    @@ -488,7 +496,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 4, + "number": 4, + "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
    \n

    Tags

    \n
    \n
    \n {{#tags}}\n {{tag}}\n {{/tags}}\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": "collections-tags.html", "pagename": "collections-tags.html", - "prev": 1, + "prev": 2, "relativeLink": "collections-tags.html", "src": "test/fixtures/pages/collections-tags.hbs", "tags": [ diff --git a/test/actual/collections/asc/collections.html b/test/actual/collections/asc/collections.html index 2e22bdad5..181cc5527 100644 --- a/test/actual/collections/asc/collections.html +++ b/test/actual/collections/asc/collections.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections.hbs → +

    test/fixtures/pages/collections.hbstest/actual/collections/asc/collections.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/collections.hbs  2
  • - 3 + 3 +
  • +
  • + 4
  • - 4 + 5 +
  • +
  • + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -408,6 +413,7 @@

    Pages related to each tag

  • markdown
  • md
  • one
  • +
  • pages
  • tags
  • test
  • tests
  • @@ -432,6 +438,7 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -283,7 +282,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -300,14 +299,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -319,18 +319,18 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    @@ -342,7 +342,7 @@

    Pages related to each tag

    Related pages for: example
    Related pages for: examples
    @@ -354,29 +354,34 @@

    Pages related to each tag

    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    Related pages for: tests
    @@ -388,12 +393,12 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    @@ -405,19 +410,21 @@

    Pages related to each tag

    Content


    @@ -456,7 +463,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 6, + "number": 6, + "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
    This is an alert
    \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": "complex.html", "pagename": "complex.html", - "prev": 3, + "prev": 4, "relativeLink": "complex.html", "src": "test/fixtures/pages/complex.hbs", "tags": [ @@ -924,6 +994,7 @@

    Debug Info

    "examples", "complex" ], + "title": "Complex YFM", "version": 2 } diff --git a/test/actual/collections/asc/context.html b/test/actual/collections/asc/context.html index bf521e914..d0871b33a 100644 --- a/test/actual/collections/asc/context.html +++ b/test/actual/collections/asc/context.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/context.hbs → +

    test/fixtures/pages/context.hbstest/actual/collections/asc/context.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/context.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5 +
  • +
  • + 6
  • - 6 + 7 +
  • +
  • + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -422,171 +427,193 @@

    Pages related to each tag

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.




    Content


    @@ -625,7 +652,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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\n

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

    \n\n\n\n
    \n\n\n\n
    \n\n\n\n
    \n\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": "context.html", "pagename": "context.html", - "prev": 4, + "prev": 5, "relativeLink": "context.html", "src": "test/fixtures/pages/context.hbs", "title": "Context" diff --git a/test/actual/collections/asc/debug-helpers.html b/test/actual/collections/asc/debug-helpers.html index 353f3e6a5..ba1350524 100644 --- a/test/actual/collections/asc/debug-helpers.html +++ b/test/actual/collections/asc/debug-helpers.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/debug-helpers.hbs → +

    test/fixtures/pages/debug-helpers.hbstest/actual/collections/asc/debug-helpers.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/debug-helpers.hbs &# 2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • @@ -395,19 +400,21 @@

    {{debug}} helper

    Content


    @@ -446,7 +453,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\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": "debug-helpers.html", "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs" + "src": "test/fixtures/pages/debug-helpers.hbs", + "title": "Debug Helper" } diff --git a/test/actual/collections/asc/example.html b/test/actual/collections/asc/example.html index da3ab61d5..a7c22e797 100644 --- a/test/actual/collections/asc/example.html +++ b/test/actual/collections/asc/example.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/example.hbs → +

    test/fixtures/pages/example.hbstest/actual/collections/asc/example.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/example.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7 +
  • +
  • + 8
  • - 8 + 9 +
  • +
  • + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -398,27 +403,29 @@

    Pages related to each tag


    This example shows that the properties from "example.json" and "example.hbs" are on the page object.
    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    Content


    @@ -457,7 +464,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 9, + "number": 9, + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
    \n\n
    {{page.title}}
    \n
    {{page.text}}
    \n\n
    \n\n
    {{title}}
    \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": "example.html", "pagename": "example.html", - "prev": 6, + "prev": 7, "relativeLink": "example.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" } diff --git a/test/actual/collections/asc/gist-helper.html b/test/actual/collections/asc/gist-helper.html index bb42ae5c2..f258f43b2 100644 --- a/test/actual/collections/asc/gist-helper.html +++ b/test/actual/collections/asc/gist-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/gist-helper.hbs → +

    test/fixtures/pages/gist-helper.hbstest/actual/collections/asc/gist-helper.html

    @@ -32,43 +32,49 @@

    test/fixtures/pages/gist-helper.hbs  2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8 +
  • +
  • + 9
  • - 9 + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/lodash.hbs +

    +

    Page dest: test/actual/collections/asc/lodash.html

    + Dest filename: lodash.html +

    +

    Dest basename: lodash

    + Page title: Assemble +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 0 +

    +
    +
    + No tags defined on this page. +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    +

    Assemble

    +

    Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.

    +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "lodash",
    +  "data": {
    +    "title": "Assemble",
    +    "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data."
    +  },
    +  "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.",
    +  "dest": "test/actual/collections/asc/lodash.html",
    +  "dirname": "test/actual/collections/asc",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/asc/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/asc/"
    +    }
    +  },
    +  "filename": "lodash.html",
    +  "first": false,
    +  "index": 10,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 11,
    +  "number": 11,
    +  "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

    {{title}}

    \n

    {{description}}

    \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": "lodash.html", + "pagename": "lodash.html", + "prev": 9, + "relativeLink": "lodash.html", + "src": "test/fixtures/pages/lodash.hbs", + "title": "Assemble" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/collections/asc/md-helper.html b/test/actual/collections/asc/md-helper.html index 60966a505..c7e3e2832 100644 --- a/test/actual/collections/asc/md-helper.html +++ b/test/actual/collections/asc/md-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/md-helper.hbs → +

    test/fixtures/pages/md-helper.hbstest/actual/collections/asc/md-helper.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/md-helper.hbs ș First
  • 1 @@ -32,37 +32,43 @@

    test/fixtures/pages/md-helper.hbs ș 2

  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9 +
  • +
  • + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • - 10 + 12
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/md-helper.hbs ș
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/md-helper.hbs

    -

    - Page dest: test/actual/collections/asc/md-helper.html -

    -

    +

    Page dest: test/actual/collections/asc/md-helper.html

    Dest filename: md-helper.html

    -

    - Dest basename: md-helper -

    -

    +

    Dest basename: md-helper

    Page title: md helper

    @@ -195,28 +194,28 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    @@ -235,35 +234,35 @@

    Pages related to each category

    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -287,7 +286,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -304,14 +303,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -323,33 +323,33 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    @@ -368,14 +368,19 @@

    Pages related to each tag

    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    @@ -387,17 +392,17 @@

    Pages related to each tag

    Related pages for: tests
    Related pages for: three
    Related pages for: two
    @@ -409,6 +414,8 @@

    md helper

    Use the {{md}} helper to include external markdown files.

    +


    +

    title: Markdown

    Some Markdown

    +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/collections-pages.hbs +

    +

    Page dest: test/actual/collections/complex/collections-pages.html

    + Dest filename: collections-pages.html +

    +

    Dest basename: collections-pages

    + Page title: Pages Collection +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 1 +

    +
    +
    + pages +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    + +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "collections-pages",
    +  "data": {
    +    "title": "Pages Collection",
    +    "tags": [
    +      "pages"
    +    ]
    +  },
    +  "dest": "test/actual/collections/complex/collections-pages.html",
    +  "dirname": "test/actual/collections/complex",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/complex/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/complex/"
    +    }
    +  },
    +  "filename": "collections-pages.html",
    +  "first": false,
    +  "index": 2,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 3,
    +  "number": 3,
    +  "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
    \n

    {{title}}

    \n
    \n
    \n {{#each pages}}\n {{{data.title}}}\n {{/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": "collections-pages.html", + "pagename": "collections-pages.html", + "prev": 1, + "relativeLink": "collections-pages.html", + "src": "test/fixtures/pages/collections-pages.hbs", + "tags": [ + "pages" + ], + "title": "Pages Collection" +} +
    +
    +
    +
    +
    + + + + diff --git a/test/actual/collections/complex/collections-tags.html b/test/actual/collections/complex/collections-tags.html index 0fab2823c..d8eb1c759 100644 --- a/test/actual/collections/complex/collections-tags.html +++ b/test/actual/collections/complex/collections-tags.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections-tags.hbs → +

    test/fixtures/pages/collections-tags.hbstest/actual/collections/complex/collections-tags.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/collections-tags.hbs First
  • 1 @@ -31,38 +31,44 @@

    test/fixtures/pages/collections-tags.hbs
  • 2
  • +
  • + 3 +
  • - 3 + 4 +
  • +
  • + 5
  • - 4 + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • - 3 + 4
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/collections-tags.hbs
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/collections-tags.hbs

    -

    - Page dest: test/actual/collections/complex/collections-tags.html -

    -

    +

    Page dest: test/actual/collections/complex/collections-tags.html

    Dest filename: collections-tags.html

    -

    - Dest basename: collections-tags -

    -

    +

    Dest basename: collections-tags

    Page title: Tags Test

    @@ -193,71 +192,71 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    Related pages for: markdown
    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -284,7 +283,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -301,14 +300,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -320,12 +320,12 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    @@ -333,32 +333,32 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    @@ -366,7 +366,12 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • + +
    Related pages for: pages +
    +
    Related pages for: tags
    @@ -374,17 +379,17 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: test
    Related pages for: tests
    Related pages for: three
    @@ -423,33 +428,36 @@

    Tags

    md one - tags + pages - test - tests + tags + test - three - two + tests + three + two

    Content


    @@ -488,7 +496,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 4, + "number": 4, + "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
    \n

    Tags

    \n
    \n
    \n {{#tags}}\n {{tag}}\n {{/tags}}\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": "collections-tags.html", "pagename": "collections-tags.html", - "prev": 1, + "prev": 2, "relativeLink": "collections-tags.html", "src": "test/fixtures/pages/collections-tags.hbs", "tags": [ diff --git a/test/actual/collections/complex/collections.html b/test/actual/collections/complex/collections.html index 51c0d06c9..6c8508062 100644 --- a/test/actual/collections/complex/collections.html +++ b/test/actual/collections/complex/collections.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections.hbs → +

    test/fixtures/pages/collections.hbstest/actual/collections/complex/collections.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/collections.hbs  2
  • - 3 + 3 +
  • +
  • + 4
  • - 4 + 5 +
  • +
  • + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -408,6 +413,7 @@

    Pages related to each tag

  • markdown
  • md
  • one
  • +
  • pages
  • tags
  • test
  • tests
  • @@ -432,6 +438,7 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -283,7 +282,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -300,14 +299,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -319,18 +319,18 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    @@ -342,7 +342,7 @@

    Pages related to each tag

    Related pages for: example
    Related pages for: examples
    @@ -354,29 +354,34 @@

    Pages related to each tag

    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    Related pages for: tests
    @@ -388,12 +393,12 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    @@ -405,19 +410,21 @@

    Pages related to each tag

    Content


    @@ -456,7 +463,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 6, + "number": 6, + "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
    This is an alert
    \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": "complex.html", "pagename": "complex.html", - "prev": 3, + "prev": 4, "relativeLink": "complex.html", "src": "test/fixtures/pages/complex.hbs", "tags": [ @@ -924,6 +994,7 @@

    Debug Info

    "examples", "complex" ], + "title": "Complex YFM", "version": 2 } diff --git a/test/actual/collections/complex/context.html b/test/actual/collections/complex/context.html index 0e165143d..b18f3dd2e 100644 --- a/test/actual/collections/complex/context.html +++ b/test/actual/collections/complex/context.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/context.hbs → +

    test/fixtures/pages/context.hbstest/actual/collections/complex/context.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/context.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5 +
  • +
  • + 6
  • - 6 + 7 +
  • +
  • + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -422,171 +427,193 @@

    Pages related to each tag

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.




    Content


    @@ -625,7 +652,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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\n

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

    \n\n\n\n
    \n\n\n\n
    \n\n\n\n
    \n\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": "context.html", "pagename": "context.html", - "prev": 4, + "prev": 5, "relativeLink": "context.html", "src": "test/fixtures/pages/context.hbs", "title": "Context" diff --git a/test/actual/collections/complex/debug-helpers.html b/test/actual/collections/complex/debug-helpers.html index 7e2766601..d99c959d9 100644 --- a/test/actual/collections/complex/debug-helpers.html +++ b/test/actual/collections/complex/debug-helpers.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/debug-helpers.hbs → +

    test/fixtures/pages/debug-helpers.hbstest/actual/collections/complex/debug-helpers.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/debug-helpers.hbs &# 2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • @@ -395,19 +400,21 @@

    {{debug}} helper

    Content


    @@ -446,7 +453,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\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": "debug-helpers.html", "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs" + "src": "test/fixtures/pages/debug-helpers.hbs", + "title": "Debug Helper" } diff --git a/test/actual/collections/complex/example.html b/test/actual/collections/complex/example.html index 2aff0e3c7..8a10d4be3 100644 --- a/test/actual/collections/complex/example.html +++ b/test/actual/collections/complex/example.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/example.hbs → +

    test/fixtures/pages/example.hbstest/actual/collections/complex/example.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/example.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7 +
  • +
  • + 8
  • - 8 + 9 +
  • +
  • + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -398,27 +403,29 @@

    Pages related to each tag


    This example shows that the properties from "example.json" and "example.hbs" are on the page object.
    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    Content


    @@ -457,7 +464,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 9, + "number": 9, + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
    \n\n
    {{page.title}}
    \n
    {{page.text}}
    \n\n
    \n\n
    {{title}}
    \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": "example.html", "pagename": "example.html", - "prev": 6, + "prev": 7, "relativeLink": "example.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" } diff --git a/test/actual/collections/complex/gist-helper.html b/test/actual/collections/complex/gist-helper.html index 65cc6ff1c..e5cf018b2 100644 --- a/test/actual/collections/complex/gist-helper.html +++ b/test/actual/collections/complex/gist-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/gist-helper.hbs → +

    test/fixtures/pages/gist-helper.hbstest/actual/collections/complex/gist-helper.html

    @@ -32,43 +32,49 @@

    test/fixtures/pages/gist-helper.hbs  2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8 +
  • +
  • + 9
  • - 9 + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/lodash.hbs +

    +

    Page dest: test/actual/collections/complex/lodash.html

    + Dest filename: lodash.html +

    +

    Dest basename: lodash

    + Page title: Assemble +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 0 +

    +
    +
    + No tags defined on this page. +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    +

    Assemble

    +

    Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.

    +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "lodash",
    +  "data": {
    +    "title": "Assemble",
    +    "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data."
    +  },
    +  "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.",
    +  "dest": "test/actual/collections/complex/lodash.html",
    +  "dirname": "test/actual/collections/complex",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/complex/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/complex/"
    +    }
    +  },
    +  "filename": "lodash.html",
    +  "first": false,
    +  "index": 10,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 11,
    +  "number": 11,
    +  "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

    {{title}}

    \n

    {{description}}

    \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": "lodash.html", + "pagename": "lodash.html", + "prev": 9, + "relativeLink": "lodash.html", + "src": "test/fixtures/pages/lodash.hbs", + "title": "Assemble" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/collections/complex/md-helper.html b/test/actual/collections/complex/md-helper.html index 10aed4ff9..406d4aee8 100644 --- a/test/actual/collections/complex/md-helper.html +++ b/test/actual/collections/complex/md-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/md-helper.hbs → +

    test/fixtures/pages/md-helper.hbstest/actual/collections/complex/md-helper.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/md-helper.hbs ș First
  • 1 @@ -32,37 +32,43 @@

    test/fixtures/pages/md-helper.hbs ș 2

  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9 +
  • +
  • + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • - 10 + 12
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/md-helper.hbs ș
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/md-helper.hbs

    -

    - Page dest: test/actual/collections/complex/md-helper.html -

    -

    +

    Page dest: test/actual/collections/complex/md-helper.html

    Dest filename: md-helper.html

    -

    - Dest basename: md-helper -

    -

    +

    Dest basename: md-helper

    Page title: md helper

    @@ -195,28 +194,28 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    @@ -235,35 +234,35 @@

    Pages related to each category

    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -287,7 +286,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -304,14 +303,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -323,33 +323,33 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    @@ -368,14 +368,19 @@

    Pages related to each tag

    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    @@ -387,17 +392,17 @@

    Pages related to each tag

    Related pages for: tests
    Related pages for: three
    Related pages for: two
    @@ -409,6 +414,8 @@

    md helper

    Use the {{md}} helper to include external markdown files.

    +


    +

    title: Markdown

    Some Markdown

    +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/collections-pages.hbs +

    +

    Page dest: test/actual/collections/custom/collections-pages.html

    + Dest filename: collections-pages.html +

    +

    Dest basename: collections-pages

    + Page title: Pages Collection +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 1 +

    +
    +
    + pages +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    + +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "collections-pages",
    +  "data": {
    +    "title": "Pages Collection",
    +    "tags": [
    +      "pages"
    +    ]
    +  },
    +  "dest": "test/actual/collections/custom/collections-pages.html",
    +  "dirname": "test/actual/collections/custom",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/custom/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/custom/"
    +    }
    +  },
    +  "filename": "collections-pages.html",
    +  "first": false,
    +  "index": 2,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 3,
    +  "number": 3,
    +  "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
    \n

    {{title}}

    \n
    \n
    \n {{#each pages}}\n {{{data.title}}}\n {{/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": "collections-pages.html", + "pagename": "collections-pages.html", + "prev": 1, + "relativeLink": "collections-pages.html", + "src": "test/fixtures/pages/collections-pages.hbs", + "tags": [ + "pages" + ], + "title": "Pages Collection" +} +
    +
    +
    +
    +
    + + + + diff --git a/test/actual/collections/custom/collections-tags.html b/test/actual/collections/custom/collections-tags.html index ca79e541a..80d94d7e8 100644 --- a/test/actual/collections/custom/collections-tags.html +++ b/test/actual/collections/custom/collections-tags.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections-tags.hbs → +

    test/fixtures/pages/collections-tags.hbstest/actual/collections/custom/collections-tags.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/collections-tags.hbs First
  • 1 @@ -31,38 +31,44 @@

    test/fixtures/pages/collections-tags.hbs
  • 2
  • +
  • + 3 +
  • - 3 + 4 +
  • +
  • + 5
  • - 4 + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • - 3 + 4
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/collections-tags.hbs
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/collections-tags.hbs

    -

    - Page dest: test/actual/collections/custom/collections-tags.html -

    -

    +

    Page dest: test/actual/collections/custom/collections-tags.html

    Dest filename: collections-tags.html

    -

    - Dest basename: collections-tags -

    -

    +

    Dest basename: collections-tags

    Page title: Tags Test

    @@ -193,71 +192,71 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    Related pages for: markdown
    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -284,7 +283,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -301,14 +300,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -320,12 +320,12 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    @@ -333,32 +333,32 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    @@ -366,7 +366,12 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • + +
    Related pages for: pages +
    +
    Related pages for: tags
    @@ -374,17 +379,17 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: test
    Related pages for: tests
    Related pages for: three
    @@ -423,33 +428,36 @@

    Tags

    md one - tags + pages - test - tests + tags + test - three - two + tests + three + two

    Content


    @@ -488,7 +496,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 4, + "number": 4, + "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
    \n

    Tags

    \n
    \n
    \n {{#tags}}\n {{tag}}\n {{/tags}}\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": "collections-tags.html", "pagename": "collections-tags.html", - "prev": 1, + "prev": 2, "relativeLink": "collections-tags.html", "src": "test/fixtures/pages/collections-tags.hbs", "tags": [ diff --git a/test/actual/collections/custom/collections.html b/test/actual/collections/custom/collections.html index f44ddbeaf..eda13ca60 100644 --- a/test/actual/collections/custom/collections.html +++ b/test/actual/collections/custom/collections.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections.hbs → +

    test/fixtures/pages/collections.hbstest/actual/collections/custom/collections.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/collections.hbs  2
  • - 3 + 3 +
  • +
  • + 4
  • - 4 + 5 +
  • +
  • + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -408,6 +413,7 @@

    Pages related to each tag

  • markdown
  • md
  • one
  • +
  • pages
  • tags
  • test
  • tests
  • @@ -432,6 +438,7 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -283,7 +282,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -300,14 +299,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -319,18 +319,18 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    @@ -342,7 +342,7 @@

    Pages related to each tag

    Related pages for: example
    Related pages for: examples
    @@ -354,29 +354,34 @@

    Pages related to each tag

    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    Related pages for: tests
    @@ -388,12 +393,12 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    @@ -405,19 +410,21 @@

    Pages related to each tag

    Content


    @@ -456,7 +463,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 6, + "number": 6, + "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
    This is an alert
    \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": "complex.html", "pagename": "complex.html", - "prev": 3, + "prev": 4, "relativeLink": "complex.html", "src": "test/fixtures/pages/complex.hbs", "tags": [ @@ -924,6 +994,7 @@

    Debug Info

    "examples", "complex" ], + "title": "Complex YFM", "version": 2 } diff --git a/test/actual/collections/custom/context.html b/test/actual/collections/custom/context.html index f9972ded6..8bd8ccb08 100644 --- a/test/actual/collections/custom/context.html +++ b/test/actual/collections/custom/context.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/context.hbs → +

    test/fixtures/pages/context.hbstest/actual/collections/custom/context.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/context.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5 +
  • +
  • + 6
  • - 6 + 7 +
  • +
  • + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -422,171 +427,193 @@

    Pages related to each tag

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.




    Content


    @@ -625,7 +652,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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\n

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

    \n\n\n\n
    \n\n\n\n
    \n\n\n\n
    \n\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": "context.html", "pagename": "context.html", - "prev": 4, + "prev": 5, "relativeLink": "context.html", "src": "test/fixtures/pages/context.hbs", "title": "Context" diff --git a/test/actual/collections/custom/debug-helpers.html b/test/actual/collections/custom/debug-helpers.html index 6c9327316..a6221486c 100644 --- a/test/actual/collections/custom/debug-helpers.html +++ b/test/actual/collections/custom/debug-helpers.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/debug-helpers.hbs → +

    test/fixtures/pages/debug-helpers.hbstest/actual/collections/custom/debug-helpers.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/debug-helpers.hbs &# 2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • @@ -395,19 +400,21 @@

    {{debug}} helper

    Content


    @@ -446,7 +453,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\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": "debug-helpers.html", "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs" + "src": "test/fixtures/pages/debug-helpers.hbs", + "title": "Debug Helper" } diff --git a/test/actual/collections/custom/example.html b/test/actual/collections/custom/example.html index 65e3e0d17..68e4ba1ec 100644 --- a/test/actual/collections/custom/example.html +++ b/test/actual/collections/custom/example.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/example.hbs → +

    test/fixtures/pages/example.hbstest/actual/collections/custom/example.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/example.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7 +
  • +
  • + 8
  • - 8 + 9 +
  • +
  • + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -398,27 +403,29 @@

    Pages related to each tag


    This example shows that the properties from "example.json" and "example.hbs" are on the page object.
    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    Content


    @@ -457,7 +464,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 9, + "number": 9, + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
    \n\n
    {{page.title}}
    \n
    {{page.text}}
    \n\n
    \n\n
    {{title}}
    \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": "example.html", "pagename": "example.html", - "prev": 6, + "prev": 7, "relativeLink": "example.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" } diff --git a/test/actual/collections/custom/gist-helper.html b/test/actual/collections/custom/gist-helper.html index f8045440f..7d1bd0f80 100644 --- a/test/actual/collections/custom/gist-helper.html +++ b/test/actual/collections/custom/gist-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/gist-helper.hbs → +

    test/fixtures/pages/gist-helper.hbstest/actual/collections/custom/gist-helper.html

    @@ -32,43 +32,49 @@

    test/fixtures/pages/gist-helper.hbs  2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8 +
  • +
  • + 9
  • - 9 + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/lodash.hbs +

    +

    Page dest: test/actual/collections/custom/lodash.html

    + Dest filename: lodash.html +

    +

    Dest basename: lodash

    + Page title: Assemble +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 0 +

    +
    +
    + No tags defined on this page. +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    +

    Assemble

    +

    Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.

    +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "lodash",
    +  "data": {
    +    "title": "Assemble",
    +    "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data."
    +  },
    +  "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.",
    +  "dest": "test/actual/collections/custom/lodash.html",
    +  "dirname": "test/actual/collections/custom",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/custom/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/custom/"
    +    }
    +  },
    +  "filename": "lodash.html",
    +  "first": false,
    +  "index": 10,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 11,
    +  "number": 11,
    +  "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

    {{title}}

    \n

    {{description}}

    \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": "lodash.html", + "pagename": "lodash.html", + "prev": 9, + "relativeLink": "lodash.html", + "src": "test/fixtures/pages/lodash.hbs", + "title": "Assemble" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/collections/custom/md-helper.html b/test/actual/collections/custom/md-helper.html index fcb9c99f3..7678229e8 100644 --- a/test/actual/collections/custom/md-helper.html +++ b/test/actual/collections/custom/md-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/md-helper.hbs → +

    test/fixtures/pages/md-helper.hbstest/actual/collections/custom/md-helper.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/md-helper.hbs ș First
  • 1 @@ -32,37 +32,43 @@

    test/fixtures/pages/md-helper.hbs ș 2

  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9 +
  • +
  • + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • - 10 + 12
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/md-helper.hbs ș
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/md-helper.hbs

    -

    - Page dest: test/actual/collections/custom/md-helper.html -

    -

    +

    Page dest: test/actual/collections/custom/md-helper.html

    Dest filename: md-helper.html

    -

    - Dest basename: md-helper -

    -

    +

    Dest basename: md-helper

    Page title: md helper

    @@ -195,28 +194,28 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    @@ -235,35 +234,35 @@

    Pages related to each category

    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -287,7 +286,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -304,14 +303,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -323,33 +323,33 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    @@ -368,14 +368,19 @@

    Pages related to each tag

    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    @@ -387,17 +392,17 @@

    Pages related to each tag

    Related pages for: tests
    Related pages for: three
    Related pages for: two
    @@ -409,6 +414,8 @@

    md helper

    Use the {{md}} helper to include external markdown files.

    +


    +

    title: Markdown

    Some Markdown

    +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/collections-pages.hbs +

    +

    Page dest: test/actual/collections/desc/collections-pages.html

    + Dest filename: collections-pages.html +

    +

    Dest basename: collections-pages

    + Page title: Pages Collection +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + yfm + yaml + + two + three + + pages + one + + markdown + helper + + fixtures + context + + components + collections + + categories +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: yfm +
    + +
    Related pages for: yaml +
    + +
    Related pages for: two +
    + +
    Related pages for: three +
    + +
    Related pages for: pages +
    + +
    Related pages for: one +
    + +
    Related pages for: markdown +
    + +
    Related pages for: helper +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: context +
    + +
    Related pages for: components +
    + +
    Related pages for: collections +
    + +
    Related pages for: categories +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 1 +

    +
    +
    + pages +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + two + three + + tests + test + + tags + pages + + one + md + + markdown + examples + + example + complex + + collections + bootstrap + + alert +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: two +
    + +
    Related pages for: three +
    + +
    Related pages for: tests +
    + +
    Related pages for: test +
    + +
    Related pages for: tags +
    + +
    Related pages for: pages +
    + +
    Related pages for: one +
    + +
    Related pages for: md +
    + +
    Related pages for: markdown +
    + +
    Related pages for: examples +
    + +
    Related pages for: example +
    + +
    Related pages for: complex +
    + +
    Related pages for: collections +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: alert +
    + +
    +
    +
    +
    +
    + +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "collections-pages",
    +  "data": {
    +    "title": "Pages Collection",
    +    "tags": [
    +      "pages"
    +    ]
    +  },
    +  "dest": "test/actual/collections/desc/collections-pages.html",
    +  "dirname": "test/actual/collections/desc",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/desc/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/desc/"
    +    }
    +  },
    +  "filename": "collections-pages.html",
    +  "first": false,
    +  "index": 2,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 3,
    +  "number": 3,
    +  "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
    \n

    {{title}}

    \n
    \n
    \n {{#each pages}}\n {{{data.title}}}\n {{/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": "collections-pages.html", + "pagename": "collections-pages.html", + "prev": 1, + "relativeLink": "collections-pages.html", + "src": "test/fixtures/pages/collections-pages.hbs", + "tags": [ + "pages" + ], + "title": "Pages Collection" +} +
    +
    +
    +
    +
    + + + + diff --git a/test/actual/collections/desc/collections-tags.html b/test/actual/collections/desc/collections-tags.html index 0e52cd673..db97aa8ec 100644 --- a/test/actual/collections/desc/collections-tags.html +++ b/test/actual/collections/desc/collections-tags.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections-tags.hbs → +

    test/fixtures/pages/collections-tags.hbstest/actual/collections/desc/collections-tags.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/collections-tags.hbs First
  • 1 @@ -31,38 +31,44 @@

    test/fixtures/pages/collections-tags.hbs
  • 2
  • +
  • + 3 +
  • - 3 + 4 +
  • +
  • + 5
  • - 4 + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • - 3 + 4
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/collections-tags.hbs
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/collections-tags.hbs

    -

    - Page dest: test/actual/collections/desc/collections-tags.html -

    -

    +

    Page dest: test/actual/collections/desc/collections-tags.html

    Dest filename: collections-tags.html

    -

    - Dest basename: collections-tags -

    -

    +

    Dest basename: collections-tags

    Page title: Tags Test

    @@ -193,71 +192,71 @@

    Pages related to each category

    Related pages for: yfm
    Related pages for: yaml
    Related pages for: two
    Related pages for: three
    Related pages for: pages
    Related pages for: one
    Related pages for: markdown
    Related pages for: helper
    Related pages for: fixtures
    Related pages for: context
    Related pages for: components
    Related pages for: collections
    Related pages for: categories
    @@ -284,7 +283,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -295,20 +294,21 @@

    All tags: test tags - one + pages - md - markdown + one + md - examples - example + markdown + examples - complex - collections + example + complex - bootstrap - alert + collections + bootstrap + alert


    @@ -334,12 +334,12 @@

    Pages related to each tag

    Related pages for: tests
    Related pages for: test
    Related pages for: tags
    @@ -347,7 +347,12 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • + +
    Related pages for: pages +
    +
    Related pages for: one
    @@ -355,32 +360,32 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: md
    Related pages for: markdown
    Related pages for: examples
    Related pages for: example
    Related pages for: complex
    Related pages for: collections
    @@ -388,17 +393,17 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: bootstrap
    Related pages for: alert
    @@ -417,39 +422,42 @@

    Tags

    test tags - one + pages - md - markdown + one + md - examples - example + markdown + examples - complex - collections + example + complex - bootstrap - alert + collections + bootstrap + alert

    Content


    @@ -488,7 +496,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 4, + "number": 4, + "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
    \n

    Tags

    \n
    \n
    \n {{#tags}}\n {{tag}}\n {{/tags}}\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": "collections-tags.html", "pagename": "collections-tags.html", - "prev": 1, + "prev": 2, "relativeLink": "collections-tags.html", "src": "test/fixtures/pages/collections-tags.hbs", "tags": [ diff --git a/test/actual/collections/desc/collections.html b/test/actual/collections/desc/collections.html index eec90ac35..11ab52871 100644 --- a/test/actual/collections/desc/collections.html +++ b/test/actual/collections/desc/collections.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections.hbs → +

    test/fixtures/pages/collections.hbstest/actual/collections/desc/collections.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/collections.hbs  2
  • - 3 + 3 +
  • +
  • + 4
  • - 4 + 5 +
  • +
  • + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -404,6 +409,7 @@

    Pages related to each tag

  • tests
  • test
  • tags
  • +
  • pages
  • one
  • md
  • markdown
  • @@ -432,6 +438,7 @@

    Pages related to each tag

    Related pages for: one
    Related pages for: markdown
    Related pages for: helper
    Related pages for: fixtures
    Related pages for: context
    Related pages for: components
    Related pages for: collections
    Related pages for: categories
    @@ -283,7 +282,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -294,20 +293,21 @@

    All tags: test tags - one + pages - md - markdown + one + md - examples - example + markdown + examples - complex - collections + example + complex - bootstrap - alert + collections + bootstrap + alert


    @@ -319,12 +319,12 @@

    Pages related to each tag

    Related pages for: two
    Related pages for: three
    Related pages for: tests
    @@ -336,29 +336,34 @@

    Pages related to each tag

    Related pages for: test
    Related pages for: tags
    +
    Related pages for: pages +
    +
    Related pages for: one
    Related pages for: md
    Related pages for: markdown
    Related pages for: examples
    @@ -370,7 +375,7 @@

    Pages related to each tag

    Related pages for: example
    Related pages for: complex
    @@ -382,18 +387,18 @@

    Pages related to each tag

    Related pages for: collections
    Related pages for: bootstrap
    Related pages for: alert
    @@ -405,19 +410,21 @@

    Pages related to each tag

    Content


    @@ -456,7 +463,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 6, + "number": 6, + "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
    This is an alert
    \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": "complex.html", "pagename": "complex.html", - "prev": 3, + "prev": 4, "relativeLink": "complex.html", "src": "test/fixtures/pages/complex.hbs", "tags": [ @@ -924,6 +994,7 @@

    Debug Info

    "examples", "complex" ], + "title": "Complex YFM", "version": 2 } diff --git a/test/actual/collections/desc/context.html b/test/actual/collections/desc/context.html index af66546db..9477be408 100644 --- a/test/actual/collections/desc/context.html +++ b/test/actual/collections/desc/context.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/context.hbs → +

    test/fixtures/pages/context.hbstest/actual/collections/desc/context.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/context.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5 +
  • +
  • + 6
  • - 6 + 7 +
  • +
  • + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -422,171 +427,193 @@

    Pages related to each tag

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.




    Content


    @@ -625,7 +652,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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\n

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

    \n\n\n\n
    \n\n\n\n
    \n\n\n\n
    \n\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": "context.html", "pagename": "context.html", - "prev": 4, + "prev": 5, "relativeLink": "context.html", "src": "test/fixtures/pages/context.hbs", "title": "Context" diff --git a/test/actual/collections/desc/debug-helpers.html b/test/actual/collections/desc/debug-helpers.html index f41be77aa..2052e8cf2 100644 --- a/test/actual/collections/desc/debug-helpers.html +++ b/test/actual/collections/desc/debug-helpers.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/debug-helpers.hbs → +

    test/fixtures/pages/debug-helpers.hbstest/actual/collections/desc/debug-helpers.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/debug-helpers.hbs &# 2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • @@ -395,19 +400,21 @@

    {{debug}} helper

    Content


    @@ -446,7 +453,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\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": "debug-helpers.html", "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs" + "src": "test/fixtures/pages/debug-helpers.hbs", + "title": "Debug Helper" } diff --git a/test/actual/collections/desc/example.html b/test/actual/collections/desc/example.html index 2070694fd..37af0e1fb 100644 --- a/test/actual/collections/desc/example.html +++ b/test/actual/collections/desc/example.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/example.hbs → +

    test/fixtures/pages/example.hbstest/actual/collections/desc/example.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/example.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7 +
  • +
  • + 8
  • - 8 + 9 +
  • +
  • + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -398,27 +403,29 @@

    Pages related to each tag


    This example shows that the properties from "example.json" and "example.hbs" are on the page object.
    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    Content


    @@ -457,7 +464,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 9, + "number": 9, + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
    \n\n
    {{page.title}}
    \n
    {{page.text}}
    \n\n
    \n\n
    {{title}}
    \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": "example.html", "pagename": "example.html", - "prev": 6, + "prev": 7, "relativeLink": "example.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" } diff --git a/test/actual/collections/desc/gist-helper.html b/test/actual/collections/desc/gist-helper.html index 2b1ac9f77..497cc0998 100644 --- a/test/actual/collections/desc/gist-helper.html +++ b/test/actual/collections/desc/gist-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/gist-helper.hbs → +

    test/fixtures/pages/gist-helper.hbstest/actual/collections/desc/gist-helper.html

    @@ -32,43 +32,49 @@

    test/fixtures/pages/gist-helper.hbs  2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8 +
  • +
  • + 9
  • - 9 + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/lodash.hbs +

    +

    Page dest: test/actual/collections/desc/lodash.html

    + Dest filename: lodash.html +

    +

    Dest basename: lodash

    + Page title: Assemble +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + yfm + yaml + + two + three + + pages + one + + markdown + helper + + fixtures + context + + components + collections + + categories +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: yfm +
    + +
    Related pages for: yaml +
    + +
    Related pages for: two +
    + +
    Related pages for: three +
    + +
    Related pages for: pages +
    + +
    Related pages for: one +
    + +
    Related pages for: markdown +
    + +
    Related pages for: helper +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: context +
    + +
    Related pages for: components +
    + +
    Related pages for: collections +
    + +
    Related pages for: categories +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 0 +

    +
    +
    + No tags defined on this page. +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + two + three + + tests + test + + tags + pages + + one + md + + markdown + examples + + example + complex + + collections + bootstrap + + alert +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: two +
    + +
    Related pages for: three +
    + +
    Related pages for: tests +
    + +
    Related pages for: test +
    + +
    Related pages for: tags +
    + +
    Related pages for: pages +
    + +
    Related pages for: one +
    + +
    Related pages for: md +
    + +
    Related pages for: markdown +
    + +
    Related pages for: examples +
    + +
    Related pages for: example +
    + +
    Related pages for: complex +
    + +
    Related pages for: collections +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: alert +
    + +
    +
    +
    +
    +
    +

    Assemble

    +

    Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.

    +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../../assets",
    +  "basename": "lodash",
    +  "data": {
    +    "title": "Assemble",
    +    "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data."
    +  },
    +  "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.",
    +  "dest": "test/actual/collections/desc/lodash.html",
    +  "dirname": "test/actual/collections/desc",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/collections/desc/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/collections/desc/"
    +    }
    +  },
    +  "filename": "lodash.html",
    +  "first": false,
    +  "index": 10,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 11,
    +  "number": 11,
    +  "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

    {{title}}

    \n

    {{description}}

    \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": "lodash.html", + "pagename": "lodash.html", + "prev": 9, + "relativeLink": "lodash.html", + "src": "test/fixtures/pages/lodash.hbs", + "title": "Assemble" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/collections/desc/md-helper.html b/test/actual/collections/desc/md-helper.html index b92903d41..f560d4d2d 100644 --- a/test/actual/collections/desc/md-helper.html +++ b/test/actual/collections/desc/md-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/md-helper.hbs → +

    test/fixtures/pages/md-helper.hbstest/actual/collections/desc/md-helper.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/md-helper.hbs ș First
  • 1 @@ -32,37 +32,43 @@

    test/fixtures/pages/md-helper.hbs ș 2

  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9 +
  • +
  • + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • - 10 + 12
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/md-helper.hbs ș
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/md-helper.hbs

    -

    - Page dest: test/actual/collections/desc/md-helper.html -

    -

    +

    Page dest: test/actual/collections/desc/md-helper.html

    Dest filename: md-helper.html

    -

    - Dest basename: md-helper -

    -

    +

    Dest basename: md-helper

    Page title: md helper

    @@ -195,35 +194,35 @@

    Pages related to each category

    Related pages for: yfm
    Related pages for: yaml
    Related pages for: two
    Related pages for: three
    Related pages for: pages
    Related pages for: one
    Related pages for: markdown
    @@ -242,28 +241,28 @@

    Pages related to each category

    Related pages for: fixtures
    Related pages for: context
    Related pages for: components
    Related pages for: collections
    Related pages for: categories
    @@ -287,7 +286,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -298,20 +297,21 @@

    All tags: test tags - one + pages - md - markdown + one + md - examples - example + markdown + examples - complex - collections + example + complex - bootstrap - alert + collections + bootstrap + alert


    @@ -323,17 +323,17 @@

    Pages related to each tag

    Related pages for: two
    Related pages for: three
    Related pages for: tests
    Related pages for: test
    @@ -345,14 +345,19 @@

    Pages related to each tag

    Related pages for: tags
    +
    Related pages for: pages +
    +
    Related pages for: one
    Related pages for: md
    @@ -371,33 +376,33 @@

    Pages related to each tag

    Related pages for: examples
    Related pages for: example
    Related pages for: complex
    Related pages for: collections
    Related pages for: bootstrap
    Related pages for: alert
    @@ -409,6 +414,8 @@

    md helper

    Use the {{md}} helper to include external markdown files.

    +


    +

    title: Markdown

    Some Markdown

    +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/collections-pages.hbs +

    +

    Page dest: test/actual/paths/collections-pages.html

    + Dest filename: collections-pages.html +

    +

    Dest basename: collections-pages

    + Page title: Pages Collection +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 1 +

    +
    +
    + pages +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    + +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../assets",
    +  "basename": "collections-pages",
    +  "data": {
    +    "title": "Pages Collection",
    +    "tags": [
    +      "pages"
    +    ]
    +  },
    +  "dest": "test/actual/paths/collections-pages.html",
    +  "dirname": "test/actual/paths",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/paths/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/paths/"
    +    }
    +  },
    +  "filename": "collections-pages.html",
    +  "first": false,
    +  "index": 2,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 3,
    +  "number": 3,
    +  "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
    \n

    {{title}}

    \n
    \n
    \n {{#each pages}}\n {{{data.title}}}\n {{/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": "collections-pages.html", + "pagename": "collections-pages.html", + "prev": 1, + "relativeLink": "collections-pages.html", + "src": "test/fixtures/pages/collections-pages.hbs", + "tags": [ + "pages" + ], + "title": "Pages Collection" +} +
    +
    +
    +
    +
    + + + + diff --git a/test/actual/paths/collections-tags.html b/test/actual/paths/collections-tags.html index d926f7604..415d2a727 100644 --- a/test/actual/paths/collections-tags.html +++ b/test/actual/paths/collections-tags.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections-tags.hbs → +

    test/fixtures/pages/collections-tags.hbstest/actual/paths/collections-tags.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/collections-tags.hbs First
  • 1 @@ -31,38 +31,44 @@

    test/fixtures/pages/collections-tags.hbs
  • 2
  • +
  • + 3 +
  • - 3 + 4 +
  • +
  • + 5
  • - 4 + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • - 3 + 4
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/collections-tags.hbs
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/collections-tags.hbs

    -

    - Page dest: test/actual/paths/collections-tags.html -

    -

    +

    Page dest: test/actual/paths/collections-tags.html

    Dest filename: collections-tags.html

    -

    - Dest basename: collections-tags -

    -

    +

    Dest basename: collections-tags

    Page title: Tags Test

    @@ -193,71 +192,71 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    Related pages for: markdown
    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -284,7 +283,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -301,14 +300,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -320,12 +320,12 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    @@ -333,32 +333,32 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    @@ -366,7 +366,12 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • + +
    Related pages for: pages +
    +
    Related pages for: tags
    @@ -374,17 +379,17 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: test
    Related pages for: tests
    Related pages for: three
    @@ -423,33 +428,36 @@

    Tags

    md one - tags + pages - test - tests + tags + test - three - two + tests + three + two

    Content


    @@ -488,7 +496,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 4, + "number": 4, + "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
    \n

    Tags

    \n
    \n
    \n {{#tags}}\n {{tag}}\n {{/tags}}\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": "collections-tags.html", "pagename": "collections-tags.html", - "prev": 1, + "prev": 2, "relativeLink": "collections-tags.html", "src": "test/fixtures/pages/collections-tags.hbs", "tags": [ diff --git a/test/actual/paths/collections.html b/test/actual/paths/collections.html index 213d3f171..2abc0df59 100644 --- a/test/actual/paths/collections.html +++ b/test/actual/paths/collections.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections.hbs → +

    test/fixtures/pages/collections.hbstest/actual/paths/collections.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/collections.hbs  2
  • - 3 + 3 +
  • +
  • + 4
  • - 4 + 5 +
  • +
  • + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -408,6 +413,7 @@

    Pages related to each tag

  • markdown
  • md
  • one
  • +
  • pages
  • tags
  • test
  • tests
  • @@ -432,6 +438,7 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -283,7 +282,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -300,14 +299,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -319,18 +319,18 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    @@ -342,7 +342,7 @@

    Pages related to each tag

    Related pages for: example
    Related pages for: examples
    @@ -354,29 +354,34 @@

    Pages related to each tag

    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    Related pages for: tests
    @@ -388,12 +393,12 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    @@ -405,19 +410,21 @@

    Pages related to each tag

    Content


    @@ -456,7 +463,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 6, + "number": 6, + "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
    This is an alert
    \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": "complex.html", "pagename": "complex.html", - "prev": 3, + "prev": 4, "relativeLink": "complex.html", "src": "test/fixtures/pages/complex.hbs", "tags": [ @@ -924,6 +994,7 @@

    Debug Info

    "examples", "complex" ], + "title": "Complex YFM", "version": 2 } diff --git a/test/actual/paths/context.html b/test/actual/paths/context.html index ebba17a63..a01acc961 100644 --- a/test/actual/paths/context.html +++ b/test/actual/paths/context.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/context.hbs → +

    test/fixtures/pages/context.hbstest/actual/paths/context.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/context.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5 +
  • +
  • + 6
  • - 6 + 7 +
  • +
  • + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -422,171 +427,193 @@

    Pages related to each tag

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.




    Content


    @@ -625,7 +652,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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\n

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

    \n\n\n\n
    \n\n\n\n
    \n\n\n\n
    \n\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": "context.html", "pagename": "context.html", - "prev": 4, + "prev": 5, "relativeLink": "context.html", "src": "test/fixtures/pages/context.hbs", "title": "Context" diff --git a/test/actual/paths/debug-helpers.html b/test/actual/paths/debug-helpers.html index d0b18ae54..f8534b239 100644 --- a/test/actual/paths/debug-helpers.html +++ b/test/actual/paths/debug-helpers.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/debug-helpers.hbs → +

    test/fixtures/pages/debug-helpers.hbstest/actual/paths/debug-helpers.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/debug-helpers.hbs &# 2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • @@ -395,19 +400,21 @@

    {{debug}} helper

    Content


    @@ -446,7 +453,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "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{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\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": "debug-helpers.html", "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs" + "src": "test/fixtures/pages/debug-helpers.hbs", + "title": "Debug Helper" } diff --git a/test/actual/paths/example.html b/test/actual/paths/example.html index d9025691d..9b3418d9f 100644 --- a/test/actual/paths/example.html +++ b/test/actual/paths/example.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/example.hbs → +

    test/fixtures/pages/example.hbstest/actual/paths/example.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/example.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7 +
  • +
  • + 8
  • - 8 + 9 +
  • +
  • + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -398,27 +403,29 @@

    Pages related to each tag


    This example shows that the properties from "example.json" and "example.hbs" are on the page object.
    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"
    This is text from example.json.

    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    Content


    @@ -457,7 +464,7 @@

    Page

    -->

    Each pages

    \n \n \n\n", + "next": 9, + "number": 9, + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
    \n\n
    {{page.title}}
    \n
    {{page.text}}
    \n\n
    \n\n
    {{title}}
    \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": "example.html", "pagename": "example.html", - "prev": 6, + "prev": 7, "relativeLink": "example.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], "text": "This is text from example.json.", - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" } diff --git a/test/actual/paths/gist-helper.html b/test/actual/paths/gist-helper.html index 14893e392..189e3ad7c 100644 --- a/test/actual/paths/gist-helper.html +++ b/test/actual/paths/gist-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/gist-helper.hbs → +

    test/fixtures/pages/gist-helper.hbstest/actual/paths/gist-helper.html

    @@ -32,43 +32,49 @@

    test/fixtures/pages/gist-helper.hbs  2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8 +
  • +
  • + 9
  • - 9 + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: default.hbs

    + Page src: test/fixtures/pages/lodash.hbs +

    +

    Page dest: test/actual/paths/lodash.html

    + Dest filename: lodash.html +

    +

    Dest basename: lodash

    + Page title: Assemble +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 0 +

    +
    +
    + No tags defined on this page. +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    +

    Assemble

    +

    Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.

    +
    +

    Content

    +
    + +
    +
    +

    Page

    + +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../assets",
    +  "basename": "lodash",
    +  "data": {
    +    "title": "Assemble",
    +    "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data."
    +  },
    +  "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.",
    +  "dest": "test/actual/paths/lodash.html",
    +  "dirname": "test/actual/paths",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/paths/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/paths/"
    +    }
    +  },
    +  "filename": "lodash.html",
    +  "first": false,
    +  "index": 10,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 11,
    +  "number": 11,
    +  "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

    {{title}}

    \n

    {{description}}

    \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": "lodash.html", + "pagename": "lodash.html", + "prev": 9, + "relativeLink": "lodash.html", + "src": "test/fixtures/pages/lodash.hbs", + "title": "Assemble" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/paths/md-helper.html b/test/actual/paths/md-helper.html index 9e83ffbcb..1f2d7d16a 100644 --- a/test/actual/paths/md-helper.html +++ b/test/actual/paths/md-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/md-helper.hbs → +

    test/fixtures/pages/md-helper.hbstest/actual/paths/md-helper.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/md-helper.hbs ș First
  • 1 @@ -32,37 +32,43 @@

    test/fixtures/pages/md-helper.hbs ș 2

  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9 +
  • +
  • + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • - 10 + 12
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/md-helper.hbs ș
    -

    - Page layout: default.hbs -

    -

    +

    Page layout: default.hbs

    Page src: test/fixtures/pages/md-helper.hbs

    -

    - Page dest: test/actual/paths/md-helper.html -

    -

    +

    Page dest: test/actual/paths/md-helper.html

    Dest filename: md-helper.html

    -

    - Dest basename: md-helper -

    -

    +

    Dest basename: md-helper

    Page title: md helper

    @@ -195,28 +194,28 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    @@ -235,35 +234,35 @@

    Pages related to each category

    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -287,7 +286,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -304,14 +303,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -323,33 +323,33 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    @@ -368,14 +368,19 @@

    Pages related to each tag

    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    @@ -387,17 +392,17 @@

    Pages related to each tag

    Related pages for: tests
    Related pages for: three
    Related pages for: two
    @@ -409,6 +414,8 @@

    md helper

    Use the {{md}} helper to include external markdown files.

    +


    +

    title: Markdown

    Some Markdown

    +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: preprocess.hbs

    + Page src: test/fixtures/pages/collections-pages.hbs +

    +

    Page dest: test/actual/plugin_preprocess/collections-pages.html

    + Dest filename: collections-pages.html +

    +

    Dest basename: collections-pages

    + Page title: Pages Collection +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 1 +

    +
    +
    + pages +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    + +
    +

    Content

    +
    + +
    +
    +

    Page

    +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../assets",
    +  "basename": "collections-pages",
    +  "data": {
    +    "title": "Pages Collection",
    +    "tags": [
    +      "pages"
    +    ]
    +  },
    +  "dest": "test/actual/plugin_preprocess/collections-pages.html",
    +  "dirname": "test/actual/plugin_preprocess",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/plugin_preprocess/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/plugin_preprocess/"
    +    }
    +  },
    +  "filename": "collections-pages.html",
    +  "first": false,
    +  "index": 2,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 3,
    +  "number": 3,
    +  "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
    \n

    {{title}}

    \n
    \n
    \n {{#each pages}}\n {{{data.title}}}\n {{/each}}\n
    \n
    \n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", + "pageName": "collections-pages.html", + "pagename": "collections-pages.html", + "prev": 1, + "relativeLink": "collections-pages.html", + "src": "test/fixtures/pages/collections-pages.hbs", + "tags": [ + "pages" + ], + "title": "Pages Collection" +} +
    +
    +
    +
    +
    + + + + diff --git a/test/actual/plugin_preprocess/collections-tags.html b/test/actual/plugin_preprocess/collections-tags.html index 05984aac6..113af78f2 100644 --- a/test/actual/plugin_preprocess/collections-tags.html +++ b/test/actual/plugin_preprocess/collections-tags.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections-tags.hbs → +

    test/fixtures/pages/collections-tags.hbstest/actual/plugin_preprocess/collections-tags.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/collections-tags.hbs First
  • 1 @@ -31,38 +31,44 @@

    test/fixtures/pages/collections-tags.hbs
  • 2
  • +
  • + 3 +
  • - 3 + 4 +
  • +
  • + 5
  • - 4 + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • - 3 + 4
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • +
  • 12
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/collections-tags.hbs
    -

    - Page layout: preprocess.hbs -

    -

    +

    Page layout: preprocess.hbs

    Page src: test/fixtures/pages/collections-tags.hbs

    -

    - Page dest: test/actual/plugin_preprocess/collections-tags.html -

    -

    +

    Page dest: test/actual/plugin_preprocess/collections-tags.html

    Dest filename: collections-tags.html

    -

    - Dest basename: collections-tags -

    -

    +

    Dest basename: collections-tags

    Page title: Tags Test

    @@ -193,71 +192,71 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    Related pages for: markdown
    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -284,7 +283,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -301,14 +300,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -320,12 +320,12 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    @@ -333,32 +333,32 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    @@ -366,7 +366,12 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • + +
    Related pages for: pages +
    +
    Related pages for: tags
    @@ -374,17 +379,17 @@

    Pages related to each tag

  • collections-tags.html
  • -
  • collections.html
  • +
  • collections.html
  • Related pages for: test
    Related pages for: tests
    Related pages for: three
    @@ -423,40 +428,43 @@

    Tags

    md one - tags + pages - test - tests + tags + test - three - two + tests + three + two

    Content


    Page

    Each pages

    \n \n \n\n", + "next": 4, + "number": 4, + "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
    \n

    Tags

    \n
    \n
    \n {{#tags}}\n {{tag}}\n {{/tags}}\n
    \n
    \n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", "pageName": "collections-tags.html", "pagename": "collections-tags.html", - "prev": 1, + "prev": 2, "relativeLink": "collections-tags.html", "src": "test/fixtures/pages/collections-tags.hbs", "tags": [ diff --git a/test/actual/plugin_preprocess/collections.html b/test/actual/plugin_preprocess/collections.html index e099a82ba..52e211bb7 100644 --- a/test/actual/plugin_preprocess/collections.html +++ b/test/actual/plugin_preprocess/collections.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/collections.hbs → +

    test/fixtures/pages/collections.hbstest/actual/plugin_preprocess/collections.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/collections.hbs  2
  • - 3 + 3 +
  • +
  • + 4
  • - 4 + 5 +
  • +
  • + 6
  • - 5 + 7
  • - 6 + 8
  • - 7 + 9
  • - 8 + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -408,6 +413,7 @@

    Pages related to each tag

  • markdown
  • md
  • one
  • +
  • pages
  • tags
  • test
  • tests
  • @@ -432,6 +438,7 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -283,7 +282,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -300,14 +299,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -319,18 +319,18 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    @@ -342,7 +342,7 @@

    Pages related to each tag

    Related pages for: example
    Related pages for: examples
    @@ -354,29 +354,34 @@

    Pages related to each tag

    Related pages for: markdown
    Related pages for: md
    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    Related pages for: tests
    @@ -388,12 +393,12 @@

    Pages related to each tag

    Related pages for: three
    Related pages for: two
    @@ -405,26 +410,28 @@

    Pages related to each tag

    Content


    Page

    Each pages

    \n \n \n\n", + "next": 6, + "number": 6, + "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
    This is an alert
    \n\n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", "pageName": "complex.html", "pagename": "complex.html", - "prev": 3, + "prev": 4, "relativeLink": "complex.html", "src": "test/fixtures/pages/complex.hbs", "tags": [ @@ -970,6 +1052,7 @@

    Debug Info

    "examples", "complex" ], + "title": "Complex YFM", "version": 2 } diff --git a/test/actual/plugin_preprocess/context.html b/test/actual/plugin_preprocess/context.html index ef5c43fab..cd501a172 100644 --- a/test/actual/plugin_preprocess/context.html +++ b/test/actual/plugin_preprocess/context.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/context.hbs → +

    test/fixtures/pages/context.hbstest/actual/plugin_preprocess/context.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/context.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5 +
  • +
  • + 6
  • - 6 + 7
  • - 7 + 8
  • - 8 + 9
  • - 9 + 10
  • - 10 + 11
  • - 11 + 12
  • - 12 + 13
  • - 13 + 14 +
  • +
  • + 15
  • @@ -422,178 +427,200 @@

    Pages related to each tag

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.




    Content


    Page

    Each pages

    \n \n \n\n", + "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\n

    If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

    \n\n\n\n
    \n\n\n\n
    \n\n\n\n
    \n\n\n\n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", "pageName": "context.html", "pagename": "context.html", - "prev": 4, + "prev": 5, "relativeLink": "context.html", "src": "test/fixtures/pages/context.hbs", "title": "Context" diff --git a/test/actual/plugin_preprocess/debug-helpers.html b/test/actual/plugin_preprocess/debug-helpers.html index 2c538db6d..4509906e2 100644 --- a/test/actual/plugin_preprocess/debug-helpers.html +++ b/test/actual/plugin_preprocess/debug-helpers.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/debug-helpers.hbs → +

    test/fixtures/pages/debug-helpers.hbstest/actual/plugin_preprocess/debug-helpers.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/debug-helpers.hbs &# 2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9
  • - 10 + 10
  • - 11 + 11
  • - 12 + 12
  • - 13 + 13 +
  • +
  • + 14 +
  • +
  • + 15
  • @@ -395,26 +400,28 @@

    {{debug}} helper

    Content


    Page

    Each pages

    \n \n \n\n", + "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{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", "pageName": "debug-helpers.html", "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs" + "src": "test/fixtures/pages/debug-helpers.hbs", + "title": "Debug Helper" } diff --git a/test/actual/plugin_preprocess/example.html b/test/actual/plugin_preprocess/example.html index 2d9b2c712..5265b2dbd 100644 --- a/test/actual/plugin_preprocess/example.html +++ b/test/actual/plugin_preprocess/example.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/example.hbs → +

    test/fixtures/pages/example.hbstest/actual/plugin_preprocess/example.html

    @@ -32,37 +32,43 @@

    test/fixtures/pages/example.hbs2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7 +
  • +
  • + 8
  • - 8 + 9 +
  • +
  • + 10
  • - 9 + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • @@ -398,34 +403,36 @@

    Pages related to each tag


    This example shows that the properties from "example.json" and "example.hbs" are on the page object.
    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"
    This is text from example.json.

    -
    This title is from YFM
    +
    Title from YFM of "example.hbs"

    Content


    Page

    Each pages

    \n \n \n\n", + "next": 9, + "number": 9, + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
    \n\n
    {{page.title}}
    \n
    {{page.text}}
    \n\n
    \n\n
    {{title}}
    \n\n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", "pageName": "example.html", "pagename": "example.html", - "prev": 6, + "prev": 7, "relativeLink": "example.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], "text": "This is text from example.json.", - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" } diff --git a/test/actual/plugin_preprocess/gist-helper.html b/test/actual/plugin_preprocess/gist-helper.html index c82c0f1e2..13dfbe349 100644 --- a/test/actual/plugin_preprocess/gist-helper.html +++ b/test/actual/plugin_preprocess/gist-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/gist-helper.hbs → +

    test/fixtures/pages/gist-helper.hbstest/actual/plugin_preprocess/gist-helper.html

    @@ -32,43 +32,49 @@

    test/fixtures/pages/gist-helper.hbs  2
  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8 +
  • +
  • + 9
  • - 9 + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • +
    +
    + +
    + +
    + +
    +
    +
    +

    Page layout: preprocess.hbs

    + Page src: test/fixtures/pages/lodash.hbs +

    +

    Page dest: test/actual/plugin_preprocess/lodash.html

    + Dest filename: lodash.html +

    +

    Dest basename: lodash

    + Page title: Assemble +

    +
    +
    +
    +
    + + +
    +
    +

    categories on this page: + 0 +

    +
    +
    + No categories defined on this page. +
    +
    +
    +
    +
    +

    All categories: + 13 +

    +
    +
    + categories + collections + + components + context + + fixtures + helper + + markdown + one + + pages + three + + two + yaml + + yfm +
    +
    +
    +
    +
    +

    Pages related to each category

    +
    +
    +
    Related pages for: categories +
    + +
    Related pages for: collections +
    + +
    Related pages for: components +
    + +
    Related pages for: context +
    + +
    Related pages for: fixtures +
    + +
    Related pages for: helper +
    + +
    Related pages for: markdown +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    Related pages for: yaml +
    + +
    Related pages for: yfm +
    + +
    +
    +
    +
    + +
    +
    +

    Tags on this page: + 0 +

    +
    +
    + No tags defined on this page. +
    +
    +
    +
    +
    +

    All tags: + 15 +

    +
    +
    + alert + bootstrap + + collections + complex + + example + examples + + markdown + md + + one + pages + + tags + test + + tests + three + + two +
    +
    +
    +
    +
    +

    Pages related to each tag

    +
    +
    +
    Related pages for: alert +
    + +
    Related pages for: bootstrap +
    + +
    Related pages for: collections +
    + +
    Related pages for: complex +
    + +
    Related pages for: example +
    + +
    Related pages for: examples +
    + +
    Related pages for: markdown +
    + +
    Related pages for: md +
    + +
    Related pages for: one +
    + +
    Related pages for: pages +
    + +
    Related pages for: tags +
    + +
    Related pages for: test +
    + +
    Related pages for: tests +
    + +
    Related pages for: three +
    + +
    Related pages for: two +
    + +
    +
    +
    +
    +
    +

    Assemble

    +

    Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.

    +
    +

    Content

    +
    + +
    +
    +

    Page

    +

    Each pages

    + +

    Debug Info

    +
    
    +{
    +  "_page": "all",
    +  "assets": "../../assets",
    +  "basename": "lodash",
    +  "data": {
    +    "title": "Assemble",
    +    "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data."
    +  },
    +  "description": "Static site generator for Grunt.js and Yeoman. Assemble makes it dead simple to build modular sites, blogs, gh-pages, components and documentation from reusable templates and data.",
    +  "dest": "test/actual/plugin_preprocess/lodash.html",
    +  "dirname": "test/actual/plugin_preprocess",
    +  "ext": ".html",
    +  "extname": ".html",
    +  "filePair": {
    +    "src": [
    +      "test/fixtures/pages/alert.hbs",
    +      "test/fixtures/pages/collections-categories.hbs",
    +      "test/fixtures/pages/collections-pages.hbs",
    +      "test/fixtures/pages/collections-tags.hbs",
    +      "test/fixtures/pages/collections.hbs",
    +      "test/fixtures/pages/complex.hbs",
    +      "test/fixtures/pages/context.hbs",
    +      "test/fixtures/pages/debug-helpers.hbs",
    +      "test/fixtures/pages/example.hbs",
    +      "test/fixtures/pages/gist-helper.hbs",
    +      "test/fixtures/pages/lodash.hbs",
    +      "test/fixtures/pages/md-helper.hbs",
    +      "test/fixtures/pages/no-yfm.hbs",
    +      "test/fixtures/pages/yfm-context.hbs",
    +      "test/fixtures/pages/yfm.hbs"
    +    ],
    +    "dest": "test/actual/plugin_preprocess/",
    +    "orig": {
    +      "src": [
    +        "test/fixtures/pages/*.hbs"
    +      ],
    +      "dest": "test/actual/plugin_preprocess/"
    +    }
    +  },
    +  "filename": "lodash.html",
    +  "first": false,
    +  "index": 10,
    +  "isCurrentPage": false,
    +  "last": false,
    +  "middle": true,
    +  "next": 11,
    +  "number": 11,
    +  "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

    {{title}}

    \n

    {{description}}

    \n\n\n
    \n

    Content

    \n
    \n \n\n
    \n
    \n\n

    Page

    \n

    Each pages

    \n \n\n

    Debug Info

    \n {{{inspect page 'json'}}}\n
    \n
    \n
    \n
    \n
    \n \n \n\n", + "pageName": "lodash.html", + "pagename": "lodash.html", + "prev": 9, + "relativeLink": "lodash.html", + "src": "test/fixtures/pages/lodash.hbs", + "title": "Assemble" +} +
    +
    +
    +
    +
    +

    + + + diff --git a/test/actual/plugin_preprocess/md-helper.html b/test/actual/plugin_preprocess/md-helper.html index 33300ec87..a65d36b97 100644 --- a/test/actual/plugin_preprocess/md-helper.html +++ b/test/actual/plugin_preprocess/md-helper.html @@ -12,7 +12,7 @@
    -

    test/fixtures/pages/md-helper.hbs → +

    test/fixtures/pages/md-helper.hbstest/actual/plugin_preprocess/md-helper.html

    @@ -23,7 +23,7 @@

    test/fixtures/pages/md-helper.hbs ș First
  • 1 @@ -32,37 +32,43 @@

    test/fixtures/pages/md-helper.hbs ș 2

  • - 3 + 3
  • - 4 + 4
  • - 5 + 5
  • - 6 + 6
  • - 7 + 7
  • - 8 + 8
  • - 9 + 9 +
  • +
  • + 10 +
  • +
  • + 11
  • - 10 + 12
  • - 11 + 13
  • - 12 + 14
  • - 13 + 15
  • -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • 4
  • +
  • 5
  • +
  • 6
  • +
  • 7
  • +
  • 8
  • +
  • 9
  • +
  • 10
  • +
  • 11
  • - 10 + 12
  • -
  • 11
  • -
  • 12
  • -
  • 13
  • +
  • 13
  • +
  • 14
  • +
  • 15
  • @@ -121,22 +129,13 @@

    test/fixtures/pages/md-helper.hbs ș
    -

    - Page layout: preprocess.hbs -

    -

    +

    Page layout: preprocess.hbs

    Page src: test/fixtures/pages/md-helper.hbs

    -

    - Page dest: test/actual/plugin_preprocess/md-helper.html -

    -

    +

    Page dest: test/actual/plugin_preprocess/md-helper.html

    Dest filename: md-helper.html

    -

    - Dest basename: md-helper -

    -

    +

    Dest basename: md-helper

    Page title: md helper

    @@ -195,28 +194,28 @@

    Pages related to each category

    Related pages for: categories
    Related pages for: collections
    Related pages for: components
    Related pages for: context
    Related pages for: fixtures
    Related pages for: helper
    @@ -235,35 +234,35 @@

    Pages related to each category

    Related pages for: one
    Related pages for: pages
    Related pages for: three
    Related pages for: two
    Related pages for: yaml
    Related pages for: yfm
    @@ -287,7 +286,7 @@

    Tags on this page:

    All tags: - 14 + 15

    @@ -304,14 +303,15 @@

    All tags: md one - tags + pages - test - tests + tags + test - three - two + tests + three + two


    @@ -323,33 +323,33 @@

    Pages related to each tag

    Related pages for: alert
    Related pages for: bootstrap
    Related pages for: collections
    Related pages for: complex
    Related pages for: example
    Related pages for: examples
    Related pages for: markdown
    @@ -368,14 +368,19 @@

    Pages related to each tag

    Related pages for: one
    +
    Related pages for: pages +
    +
    Related pages for: tags
    Related pages for: test
    @@ -387,17 +392,17 @@

    Pages related to each tag

    Related pages for: tests
    Related pages for: three
    Related pages for: two
    @@ -409,6 +414,8 @@

    md helper

    Use the {{md}} helper to include external markdown files.

    +


    +

    title: Markdown

    Some Markdown

    • one
    • @@ -421,26 +428,28 @@

      Some Markdown

      Content


      Page

      Each pages

      \n \n \n\n", + "next": 12, + "number": 12, + "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
      \n

      {{title}}

      \n

      {{description}}

      \n
      \n\n

      {{{md './test/fixtures/pages/md.md'}}}

      \n\n\n\n\n\n
      \n

      Content

      \n
      \n \n\n
      \n
      \n\n

      Page

      \n

      Each pages

      \n \n\n

      Debug Info

      \n {{{inspect page 'json'}}}\n
      \n
      \n
      \n
      \n
      \n \n \n\n", "pageName": "md-helper.html", "pagename": "md-helper.html", - "prev": 8, + "prev": 10, "relativeLink": "md-helper.html", "src": "test/fixtures/pages/md-helper.hbs", "tags": [ diff --git a/test/actual/plugin_preprocess/no-yfm.html b/test/actual/plugin_preprocess/no-yfm.html index 74b1df9ff..8208cbf1e 100644 --- a/test/actual/plugin_preprocess/no-yfm.html +++ b/test/actual/plugin_preprocess/no-yfm.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/no-yfm.hbs → +

      test/fixtures/pages/no-yfm.hbstest/actual/plugin_preprocess/no-yfm.html

      @@ -32,37 +32,43 @@

      test/fixtures/pages/no-yfm.hbs2
    • - 3 + 3
    • - 4 + 4
    • - 5 + 5
    • - 6 + 6
    • - 7 + 7
    • - 8 + 8
    • - 9 + 9
    • - 10 + 10 +
    • +
    • + 11 +
    • +
    • + 12
    • - 11 + 13
    • - 12 + 14
    • - 13 + 15
    • @@ -395,26 +400,28 @@

      Pages related to each tag

      Content


      Page

      Each pages

      \n \n \n\n", + "next": 13, + "number": 13, + "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 There is no YAML front matter in this page.\n\n
      {{noyfm.one}}
      \n
      {{noyfm.two}}
      \n\n\n\n\n
      \n

      Content

      \n
      \n \n\n
      \n
      \n\n

      Page

      \n

      Each pages

      \n \n\n

      Debug Info

      \n {{{inspect page 'json'}}}\n
      \n
      \n
      \n
      \n
      \n \n \n\n", "pageName": "no-yfm.html", "pagename": "no-yfm.html", - "prev": 9, + "prev": 11, "relativeLink": "no-yfm.html", "src": "test/fixtures/pages/no-yfm.hbs" } diff --git a/test/actual/plugin_preprocess/yfm-context.html b/test/actual/plugin_preprocess/yfm-context.html index b984ffc37..fe48bb7d2 100644 --- a/test/actual/plugin_preprocess/yfm-context.html +++ b/test/actual/plugin_preprocess/yfm-context.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm-context.hbs → +

      test/fixtures/pages/yfm-context.hbstest/actual/plugin_preprocess/yfm-context.html

      @@ -32,37 +32,43 @@

      test/fixtures/pages/yfm-context.hbs  2
    • - 3 + 3
    • - 4 + 4
    • - 5 + 5
    • - 6 + 6
    • - 7 + 7
    • - 8 + 8
    • - 9 + 9
    • - 10 + 10
    • - 11 + 11 +
    • +
    • + 12 +
    • +
    • + 13
    • - 12 + 14
    • - 13 + 15

    • Page

      Each pages

        -
      • debug-helpers
      • +
      • debug-helpers
      • -
      • alert
      • +
      • alert
      • -
      • collections-tags
      • +
      • collections-pages
      • + +
      • collections-tags
      • -
      • collections
      • +
      • collections
      • -
      • complex
      • +
      • complex
      • -
      • context
      • +
      • context
      • -
      • collections-categories
      • +
      • collections-categories
      • -
      • example
      • +
      • example
      • -
      • gist-helper
      • +
      • gist-helper
      • -
      • md-helper
      • +
      • lodash
      • + +
      • md-helper
      • -
      • no-yfm
      • +
      • no-yfm
      • -
      • yfm-context
      • +
      • yfm-context
      • -
      • yfm
      • +
      • yfm
      • \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
        \n

        {{{default home.title \"Title from home.json didn't render.\"}}}

        \n

        {{{default home.description \"Description from home.json didn't render.\"}}}

        \n
        \n\n
        \n\n
        \n

        {{{default page.title \"page.title didn't render.\"}}}

        \n

        {{{default page.description \"page.description didn't render.\"}}}

        \n
        \n\n
        \n\n
        \n

        {{{default title \"title didn't render.\"}}}

        \n

        {{{default description \"description didn't render.\"}}}

        \n
        \n\n\n\n\n
        \n

        Content

        \n
        \n \n\n
        \n
        \n\n

        Page

        \n

        Each pages

        \n \n\n

        Debug Info

        \n {{{inspect page 'json'}}}\n
        \n
        \n
        \n
        \n
      \n \n \n\n", + "next": 14, + "number": 14, + "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
      \n

      {{{default home.title \"Title from home.json didn't render.\"}}}

      \n

      {{{default home.description \"Description from home.json didn't render.\"}}}

      \n
      \n\n
      \n\n
      \n

      {{{default page.title \"page.title didn't render.\"}}}

      \n

      {{{default page.description \"page.description didn't render.\"}}}

      \n
      \n\n
      \n\n
      \n

      {{{default title \"title didn't render.\"}}}

      \n

      {{{default description \"description didn't render.\"}}}

      \n
      \n\n\n\n\n
      \n

      Content

      \n
      \n \n\n
      \n
      \n\n

      Page

      \n

      Each pages

      \n \n\n

      Debug Info

      \n {{{inspect page 'json'}}}\n
      \n
      \n
      \n
      \n
      \n \n \n\n", "pageName": "yfm-context.html", "pagename": "yfm-context.html", - "prev": 10, + "prev": 12, "relativeLink": "yfm-context.html", "src": "test/fixtures/pages/yfm-context.hbs", "title": "This title is from the YFM of the current page" diff --git a/test/actual/plugin_preprocess/yfm.html b/test/actual/plugin_preprocess/yfm.html index b93a47277..094c4ac4a 100644 --- a/test/actual/plugin_preprocess/yfm.html +++ b/test/actual/plugin_preprocess/yfm.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm.hbs → +

      test/fixtures/pages/yfm.hbstest/actual/plugin_preprocess/yfm.html

      @@ -32,37 +32,43 @@

      test/fixtures/pages/yfm.hbs2
    • - 3 + 3
    • - 4 + 4
    • - 5 + 5
    • - 6 + 6
    • - 7 + 7
    • - 8 + 8
    • - 9 + 9
    • - 10 + 10
    • - 11 + 11
    • - 12 + 12 +
    • +
    • + 13 +
    • +
    • + 14
    • - 13 + 15
    • @@ -394,26 +399,28 @@

      Pages related to each tag

      Content


      Page

      Each pages

      \n \n \n\n", + "number": 15, + "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
      This is an alert
      \n\n\n
      \n

      Content

      \n
      \n \n\n
      \n
      \n\n

      Page

      \n

      Each pages

      \n \n\n

      Debug Info

      \n {{{inspect page 'json'}}}\n
      \n
      \n
      \n
      \n
      \n \n \n\n", "pageName": "yfm.html", "pagename": "yfm.html", - "prev": 11, + "prev": 13, "relativeLink": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs" + "src": "test/fixtures/pages/yfm.hbs", + "title": "YFM" } diff --git a/test/actual/single_page.html b/test/actual/single_page.html index 2fdee35a0..87ebfb7df 100644 --- a/test/actual/single_page.html +++ b/test/actual/single_page.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/example.hbs → +

      test/fixtures/pages/example.hbstest/actual/single_page.html

      @@ -73,23 +73,14 @@

      test/fixtures/pages/example.hbs
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

      Page src: test/fixtures/pages/example.hbs

      -

      - Page dest: test/actual/single_page.html -

      -

      +

      Page dest: test/actual/single_page.html

      Dest filename: single_page.html

      -

      - Dest basename: example -

      -

      - Page title: This title is from YFM +

      Dest basename: example

      + Page title: Title from YFM of "example.hbs"


      @@ -187,15 +178,15 @@

      Pages related to each tag


      This example shows that the properties from "example.json" and "example.hbs" are on the page object.
      -
      This title is from YFM
      +
      Title from YFM of "example.hbs"

      -
      This title is from YFM
      +
      Title from YFM of "example.hbs"

      Content


      @@ -234,7 +225,7 @@

      Page

      -->

      Each pages

        -
      • example
      • +
      • single_page.html
      • \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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
        \n\n
        {{page.title}}
        \n
        {{page.text}}
        \n\n
        \n\n
        {{title}}
        \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", + "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\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
      \n\n
      {{page.title}}
      \n
      {{page.text}}
      \n\n
      \n\n
      {{title}}
      \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": "single_page.html", "pagename": "single_page.html", "src": "test/fixtures/pages/example.hbs", "tags": [ "example" ], - "title": "This title is from YFM" + "title": "Title from YFM of \"example.hbs\"" }
      diff --git a/test/actual/yfm/associative-arrays.html b/test/actual/yfm/associative-arrays.html index df453819d..11fa650c0 100644 --- a/test/actual/yfm/associative-arrays.html +++ b/test/actual/yfm/associative-arrays.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/associative-arrays.hbs → +

      test/fixtures/pages/yfm/associative-arrays.hbstest/actual/yfm/associative-arrays.html

      @@ -87,15 +87,15 @@

      test/fixtures/pages/yfm/associative-arrays.hbs 1 -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/associative-arrays.hbs
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

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

      -

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

      -

      +

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

      Dest filename: associative-arrays.html

      -

      - Dest basename: associative-arrays -

      -

      +

      Dest basename: associative-arrays

      Page title: Associative arrays

      @@ -157,16 +148,16 @@

      Associative arrays

      Content


      @@ -205,7 +196,7 @@

      Page

      -->

      Each pages

      \n \n \n\n", + "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": { diff --git a/test/actual/yfm/block-literals.html b/test/actual/yfm/block-literals.html index ce3c236f2..a9c6bafb7 100644 --- a/test/actual/yfm/block-literals.html +++ b/test/actual/yfm/block-literals.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/block-literals.hbs → +

      test/fixtures/pages/yfm/block-literals.hbstest/actual/yfm/block-literals.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/block-literals.hbs ← Previous -
    • 1
    • +
    • 1
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/block-literals.hbs
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

      Page src: test/fixtures/pages/yfm/block-literals.hbs

      -

      - Page dest: test/actual/yfm/block-literals.html -

      -

      +

      Page dest: test/actual/yfm/block-literals.html

      Dest filename: block-literals.html

      -

      - Dest basename: block-literals -

      -

      +

      Dest basename: block-literals

      Page title: Block Literals

      @@ -152,16 +143,16 @@

      Newlines folded

      Content


      @@ -200,7 +191,7 @@

      Page

      -->

      Each pages

      \n \n \n\n", + "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

      Newlines preserved

      \n
      \n{{{poem}}}\n
      \n\n

      Newlines folded

      \n
      \n{{{another}}}\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": "block-literals.html", "pagename": "block-literals.html", "poem": "\r\nold pond . . .\r\na frog leaps in\r\nwater’s sound\r\n", diff --git a/test/actual/yfm/comments.html b/test/actual/yfm/comments.html index e6ca10f2d..8087a1774 100644 --- a/test/actual/yfm/comments.html +++ b/test/actual/yfm/comments.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/comments.hbs → +

      test/fixtures/pages/yfm/comments.hbstest/actual/yfm/comments.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/comments.hbs &#x -
    • 1
    • -
    • 2
    • +
    • 1
    • +
    • 2
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/comments.hbs &#x
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

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

      -

      - Page dest: test/actual/yfm/comments.html -

      -

      +

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

      Dest filename: comments.html

      -

      - Dest basename: comments -

      -

      +

      Dest basename: comments

      Page title: Comments in YAML front matter

      @@ -145,16 +136,16 @@

      Comments in YAML front matter

      Content


      @@ -193,7 +184,7 @@

      Page

      -->

      Each pages

      \n \n \n\n", + "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\nNothing.\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": "comments.html", "pagename": "comments.html", "prev": 1, diff --git a/test/actual/yfm/data-files.html b/test/actual/yfm/data-files.html index cf81fe34e..570a105cf 100644 --- a/test/actual/yfm/data-files.html +++ b/test/actual/yfm/data-files.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/data-files.hbs → +

      test/fixtures/pages/yfm/data-files.hbstest/actual/yfm/data-files.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/data-files.hbs & -
    • 1
    • -
    • 2
    • -
    • 3
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/data-files.hbs &
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

      Page src: test/fixtures/pages/yfm/data-files.hbs

      -

      - Page dest: test/actual/yfm/data-files.html -

      -

      +

      Page dest: test/actual/yfm/data-files.html

      Dest filename: data-files.html

      -

      - Dest basename: data-files -

      -

      +

      Dest basename: data-files

      Page title: (no title defined)

      @@ -168,16 +159,16 @@

      example.yml

      Content


      @@ -216,7 +207,7 @@

      Page

      -->

      Each pages

        -
      • associative-arrays
      • +
      • associative-arrays.html
      • -
      • block-literals
      • +
      • block-literals.html
      • -
      • comments
      • +
      • comments.html
      • -
      • data-files
      • +
      • data-files.html
      • -
      • data-types
      • +
      • data-types.html
      • -
      • document
      • +
      • document.html
      • -
      • lists
      • +
      • lists.html
      • -
      • relational-trees
      • +
      • relational-trees.html
      • -
      • underscore
      • +
      • underscore.html
      • -
      • variables
      • +
      • variables.html
      • \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

        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

        {{one}}

        \n

        {{two}}

        \n

        {{three}}

        \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\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", + "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

      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

      {{one}}

      \n

      {{two}}

      \n

      {{three}}

      \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\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": "data-files.html", "pagename": "data-files.html", "prev": 2, diff --git a/test/actual/yfm/data-types.html b/test/actual/yfm/data-types.html index 967a6198f..76624c67a 100644 --- a/test/actual/yfm/data-types.html +++ b/test/actual/yfm/data-types.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/data-types.hbs → +

      test/fixtures/pages/yfm/data-types.hbstest/actual/yfm/data-types.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/data-types.hbs & -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/data-types.hbs &
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

      Page src: test/fixtures/pages/yfm/data-types.hbs

      -

      - Page dest: test/actual/yfm/data-types.html -

      -

      +

      Page dest: test/actual/yfm/data-types.html

      Dest filename: data-types.html

      -

      - Dest basename: data-types -

      -

      +

      Dest basename: data-types

      Page title: Data Types

      @@ -165,16 +156,16 @@

      Casting data types

      Content


      @@ -213,7 +204,7 @@

      Page

      -->

      Each pages

      \n \n \n\n", + "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

      Casting data types

      \n
      \n {{#dataTypes}}\n
      a.
      {{{a}}}
      \n
      b.
      {{{b}}}
      \n
      c.
      {{{c}}}
      \n
      d.
      {{{d}}}
      \n
      e.
      {{{e}}}
      \n
      f.
      {{{f}}}
      \n
      g.
      {{{g}}}
      \n
      h.
      {{{h}}}
      \n {{/dataTypes}}\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": "data-types.html", "pagename": "data-types.html", "prev": 3, diff --git a/test/actual/yfm/document.html b/test/actual/yfm/document.html index 25d423aed..b2dac688a 100644 --- a/test/actual/yfm/document.html +++ b/test/actual/yfm/document.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/document.hbs → +

      test/fixtures/pages/yfm/document.hbstest/actual/yfm/document.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/document.hbs &#x -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/document.hbs &#x
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

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

      -

      - Page dest: test/actual/yfm/document.html -

      -

      +

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

      Dest filename: document.html

      -

      - Dest basename: document -

      -

      +

      Dest basename: document

      Page title: (no title defined)

      @@ -229,16 +220,16 @@

      Delivery Instructions

      Content


      @@ -277,7 +268,7 @@

      Page

      -->

      Each pages

        -
      • associative-arrays
      • +
      • associative-arrays.html
      • -
      • block-literals
      • +
      • block-literals.html
      • -
      • comments
      • +
      • comments.html
      • -
      • data-files
      • +
      • data-files.html
      • -
      • data-types
      • +
      • data-types.html
      • -
      • document
      • +
      • document.html
      • -
      • lists
      • +
      • lists.html
      • -
      • relational-trees
      • +
      • relational-trees.html
      • -
      • underscore
      • +
      • underscore.html
      • -
      • variables
      • +
      • variables.html
      • \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\n
        \n

        Customer Information

        \n
        \n
        Receipt:
        \n
        {{receipt}}
        \n\n
        Date:
        \n
        {{prettyDate}}
        \n\n
        First Name:
        \n
        {{customer.given}}
        \n\n
        Last Name:
        \n
        {{customer.family}}
        \n
        \n
        \n\n
        \n\n\n
        \n

        Order Information

        \n
        \n
        Items:
        \n {{#each items}}\n
        \n Item #{{@index}}\n
        \n
        Part No:
        \n
        {{part_no}}
        \n
        Description:
        \n
        {{descrip}}
        \n
        Price:
        \n
        ${{price}}
        \n
        Qty:
        \n
        {{quantity}}
        \n
        \n
        \n {{/each}}\n
        \n
        \n
        \n\n\n
        \n

        Address Information

        \n Bill To:\n
        \n
        Billing Street:
        \n
        {{bill-to.street}}
        \n
        Billing City:
        \n
        {{bill-to.city}}
        \n
        Billing State:
        \n
        {{bill-to.state}}
        \n
        \n Ship To:\n
        \n
        Shipping Street:
        \n
        {{ship-to.street}}
        \n
        Shipping City:
        \n
        {{ship-to.city}}
        \n
        Shipping State:
        \n
        {{ship-to.state}}
        \n \n
        \n
        \n\n\n
        \n

        Delivery Instructions

        \n

        {{{specialDelivery}}}

        \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", + "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\n
      \n

      Customer Information

      \n
      \n
      Receipt:
      \n
      {{receipt}}
      \n\n
      Date:
      \n
      {{prettyDate}}
      \n\n
      First Name:
      \n
      {{customer.given}}
      \n\n
      Last Name:
      \n
      {{customer.family}}
      \n
      \n
      \n\n
      \n\n\n
      \n

      Order Information

      \n
      \n
      Items:
      \n {{#each items}}\n
      \n Item #{{@index}}\n
      \n
      Part No:
      \n
      {{part_no}}
      \n
      Description:
      \n
      {{descrip}}
      \n
      Price:
      \n
      ${{price}}
      \n
      Qty:
      \n
      {{quantity}}
      \n
      \n
      \n {{/each}}\n
      \n
      \n
      \n\n\n
      \n

      Address Information

      \n Bill To:\n
      \n
      Billing Street:
      \n
      {{bill-to.street}}
      \n
      Billing City:
      \n
      {{bill-to.city}}
      \n
      Billing State:
      \n
      {{bill-to.state}}
      \n
      \n Ship To:\n
      \n
      Shipping Street:
      \n
      {{ship-to.street}}
      \n
      Shipping City:
      \n
      {{ship-to.city}}
      \n
      Shipping State:
      \n
      {{ship-to.state}}
      \n \n
      \n
      \n\n\n
      \n

      Delivery Instructions

      \n

      {{{specialDelivery}}}

      \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": "document.html", "pagename": "document.html", "prettyDate": "2007-08-05", diff --git a/test/actual/yfm/lists.html b/test/actual/yfm/lists.html index 6cf8725c2..6684d3222 100644 --- a/test/actual/yfm/lists.html +++ b/test/actual/yfm/lists.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/lists.hbs → +

      test/fixtures/pages/yfm/lists.hbstest/actual/yfm/lists.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/lists.hbs ș -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • 7
    • -
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/lists.hbs ș
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

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

      -

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

      -

      +

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

      Dest filename: lists.html

      -

      - Dest basename: lists -

      -

      +

      Dest basename: lists

      Page title: Almost a Haiku

      @@ -212,16 +203,16 @@

      Associative arrays of lists

      Content


      @@ -260,7 +251,7 @@

      Page

      -->

      Each pages

        -
      • associative-arrays
      • +
      • associative-arrays.html
      • -
      • block-literals
      • +
      • block-literals.html
      • -
      • comments
      • +
      • comments.html
      • -
      • data-files
      • +
      • data-files.html
      • -
      • data-types
      • +
      • data-types.html
      • -
      • document
      • +
      • document.html
      • -
      • lists
      • +
      • lists.html
      • -
      • relational-trees
      • +
      • relational-trees.html
      • -
      • underscore
      • +
      • underscore.html
      • -
      • variables
      • +
      • variables.html
      • \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", + "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": [ diff --git a/test/actual/yfm/relational-trees.html b/test/actual/yfm/relational-trees.html index d72edaf46..63051d63b 100644 --- a/test/actual/yfm/relational-trees.html +++ b/test/actual/yfm/relational-trees.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/relational-trees.hbs → +

      test/fixtures/pages/yfm/relational-trees.hbstest/actual/yfm/relational-trees.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/relational-trees.hbs ← Previous -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • 8
    • -
    • 9
    • -
    • 10
    • +
    • 9
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/relational-trees.hbs
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

      Page src: test/fixtures/pages/yfm/relational-trees.hbs

      -

      - Page dest: test/actual/yfm/relational-trees.html -

      -

      +

      Page dest: test/actual/yfm/relational-trees.html

      Dest filename: relational-trees.html

      -

      - Dest basename: relational-trees -

      -

      +

      Dest basename: relational-trees

      Page title: Relational Trees - References

      @@ -215,16 +206,16 @@

      Associative arrays

      Content


      @@ -263,7 +254,7 @@

      Page

      -->

      Each pages

      \n \n \n\n", + "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 {{#each steps}}\n {{#each step}}\n
      {{@key}}
      \n
      {{.}}
      \n {{/each}}\n
      \n {{/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": "relational-trees.html", "pagename": "relational-trees.html", "prev": 6, diff --git a/test/actual/yfm/underscore.html b/test/actual/yfm/underscore.html index 04d729707..d64e7cd1a 100644 --- a/test/actual/yfm/underscore.html +++ b/test/actual/yfm/underscore.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/underscore.hbs → +

      test/fixtures/pages/yfm/underscore.hbstest/actual/yfm/underscore.html

      @@ -84,18 +84,18 @@

      test/fixtures/pages/yfm/underscore.hbs & -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • 9
    • -
    • 10
    • +
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/underscore.hbs &
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

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

      -

      - Page dest: test/actual/yfm/underscore.html -

      -

      +

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

      Dest filename: underscore.html

      -

      - Dest basename: underscore -

      -

      +

      Dest basename: underscore

      Page title: (no title defined)

      @@ -176,16 +167,16 @@

      example.yml

      Content


      @@ -224,7 +215,7 @@

      Page

      -->

      Each pages

        -
      • associative-arrays
      • +
      • associative-arrays.html
      • -
      • block-literals
      • +
      • block-literals.html
      • -
      • comments
      • +
      • comments.html
      • -
      • data-files
      • +
      • data-files.html
      • -
      • data-types
      • +
      • data-types.html
      • -
      • document
      • +
      • document.html
      • -
      • lists
      • +
      • lists.html
      • -
      • relational-trees
      • +
      • relational-trees.html
      • -
      • underscore
      • +
      • underscore.html
      • -
      • variables
      • +
      • variables.html
      • \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

        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

        {{one}}

        \n

        {{two}}

        \n

        {{three}}

        \n
        \n\n
        \n

        person.yml

        \n
        {{person.name}}
        \n
        \n\n
        \n

        person.yml - YFM

        \n
        jon: {{jon}}
        \n
        page.jon: {{page.jon}}
        \n
        underscore.jon: {{underscore.jon}}
        \n
        data.jon: {{data.jon}}
        \n
        underscore.data.jon: {{underscore.data.jon}}
        \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\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", + "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

      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

      {{one}}

      \n

      {{two}}

      \n

      {{three}}

      \n
      \n\n
      \n

      person.yml

      \n
      {{person.name}}
      \n
      \n\n
      \n

      person.yml - YFM

      \n
      jon: {{jon}}
      \n
      page.jon: {{page.jon}}
      \n
      underscore.jon: {{underscore.jon}}
      \n
      data.jon: {{data.jon}}
      \n
      underscore.data.jon: {{underscore.data.jon}}
      \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\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": "underscore.html", "pagename": "underscore.html", "prev": 7, diff --git a/test/actual/yfm/variables.html b/test/actual/yfm/variables.html index d6478682b..742e0a8d3 100644 --- a/test/actual/yfm/variables.html +++ b/test/actual/yfm/variables.html @@ -12,7 +12,7 @@
      -

      test/fixtures/pages/yfm/variables.hbs → +

      test/fixtures/pages/yfm/variables.hbstest/actual/yfm/variables.html

      @@ -84,15 +84,15 @@

      test/fixtures/pages/yfm/variables.hbs &# -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    • 9
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • 10
    • @@ -109,22 +109,13 @@

      test/fixtures/pages/yfm/variables.hbs &#
      -

      - Page layout: default.hbs -

      -

      +

      Page layout: default.hbs

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

      -

      - Page dest: test/actual/yfm/variables.html -

      -

      +

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

      Dest filename: variables.html

      -

      - Dest basename: variables -

      -

      +

      Dest basename: variables

      Page title: YAML Variables

      @@ -145,28 +136,27 @@

      YAML Variables

      three: But this doesn't work. *DOOWB

      And this would throw an error:

      three: *DOOWB But this doesn't work.
      -

      YAML supports variables, or repeated nodes . The simplest explanation is that you define something as a variable by preceding it with "&NAME value" and you can refer to it with "*NAME" - e.g.: -

      +

      YAML supports variables, or repeated nodes . The simplest explanation is that you define something as a variable by preceding it with "&NAME value" and you can refer to it with "*NAME" + e.g.:

      # YAML
       some_thing: &NAME foobar
       other_thing: *NAME

      Parses to:

      -
      {"other_thing": "foobar", "some_thing": "foobar"    }
      +
      {"other_thing": "foobar", "some_thing": "foobar"  }

      Content


      @@ -205,7 +195,7 @@

      Page

      -->

      Each pages

        -
      • associative-arrays
      • +
      • associative-arrays.html
      • -
      • block-literals
      • +
      • block-literals.html
      • -
      • comments
      • +
      • comments.html
      • -
      • data-files
      • +
      • data-files.html
      • -
      • data-types
      • +
      • data-types.html
      • -
      • document
      • +
      • document.html
      • -
      • lists
      • +
      • lists.html
      • -
      • relational-trees
      • +
      • relational-trees.html
      • -
      • underscore
      • +
      • underscore.html
      • -
      • variables
      • +
      • variables.html
      • \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{{{two}}}\n\n{{#markdown}}\nThis would output the variable as literal text.\n``` yaml\nthree: But this doesn't work. *DOOWB\n```\nAnd this would throw an error:\n\n``` yaml\nthree: *DOOWB But this doesn't work.\n```\n\nYAML supports **variables**, or **repeated nodes**. The simplest explanation is that you define something as a variable by preceding it with \"&NAME value\" and you can refer to it with \"*NAME\" e.g.:\n\n``` yaml\n# YAML\nsome_thing: &NAME foobar\nother_thing: *NAME\n```\nParses to:\n``` json\n{\"other_thing\": \"foobar\", \"some_thing\": \"foobar\"}\n```\n{{/markdown}}\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", + "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{{{two}}}\n\n{{#markdown}}\nThis would output the variable as literal text.\n``` yaml\nthree: But this doesn't work. *DOOWB\n```\nAnd this would throw an error:\n\n``` yaml\nthree: *DOOWB But this doesn't work.\n```\n\nYAML supports **variables**, or **repeated nodes**. The simplest explanation is that you define something as a variable by preceding it with \"&NAME value\" and you can refer to it with \"*NAME\" e.g.:\n\n``` yaml\n# YAML\nsome_thing: &NAME foobar\nother_thing: *NAME\n```\nParses to:\n``` json\n{\"other_thing\": \"foobar\", \"some_thing\": \"foobar\"}\n```\n{{/markdown}}\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": "variables.html", "pagename": "variables.html", "prev": 8, diff --git a/test/fixtures/layouts/default.hbs b/test/fixtures/layouts/default.hbs index eb7b11bb3..62667b982 100644 --- a/test/fixtures/layouts/default.hbs +++ b/test/fixtures/layouts/default.hbs @@ -65,7 +65,7 @@
      @@ -109,7 +109,7 @@ -->

      Each pages