Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

renames `isActive` variable to `isCurrentPage`

  • Loading branch information...
commit 5c6d9a9cb07363badaae880099d53ca68341151b 1 parent 1b83b8e
Jon Schlinkert jonschlinkert authored
Showing with 3,270 additions and 6,144 deletions.
  1. +10 −9 Gruntfile.js
  2. +1 −1  README.md
  3. +4 −4 lib/plugins/page-collection-properties.js
  4. +26 −22 test/actual/assets_base.html
  5. +26 −22 test/actual/assets_blank_path.html
  6. +26 −22 test/actual/assets_dot_slash.html
  7. +26 −22 test/actual/assets_nested.html
  8. +26 −22 test/actual/assets_trailing_slash.html
  9. +127 −234 test/actual/collections/asc/alert.html
  10. +139 −235 test/actual/collections/asc/collections-categories.html
  11. +141 −236 test/actual/collections/asc/collections-tags.html
  12. +127 −234 test/actual/collections/asc/collections.html
  13. +126 −231 test/actual/collections/asc/complex.html
  14. +265 −648 test/actual/collections/asc/context.html
  15. +127 −241 test/actual/collections/asc/debug-helpers.html
  16. +127 −234 test/actual/collections/asc/example.html
  17. +128 −242 test/actual/collections/asc/gist-helper.html
  18. +128 −232 test/actual/collections/asc/md-helper.html
  19. +128 −242 test/actual/collections/asc/no-yfm.html
  20. +127 −234 test/actual/collections/asc/yfm-context.html
  21. +128 −242 test/actual/collections/asc/yfm.html
  22. +127 −234 test/actual/collections/complex/alert.html
  23. +139 −235 test/actual/collections/complex/collections-categories.html
  24. +141 −236 test/actual/collections/complex/collections-tags.html
  25. +127 −234 test/actual/collections/complex/collections.html
  26. +126 −231 test/actual/collections/complex/complex.html
  27. +265 −648 test/actual/collections/complex/context.html
  28. +127 −241 test/actual/collections/complex/debug-helpers.html
  29. +127 −234 test/actual/collections/complex/example.html
  30. +128 −242 test/actual/collections/complex/gist-helper.html
Sorry, we could not display the entire diff because it was too big.
19 Gruntfile.js
View
@@ -32,14 +32,14 @@ module.exports = function(grunt) {
license: '<%= _.pluck(pkg.licenses, "type").join(", ") %>',
copyright: 'Copyright (c) <%= grunt.template.today("yyyy") %>',
banner: [
- '/* \n',
- ' * <%= pkg.name %> v<%= pkg.version %> \n',
- ' * http://assemble.io \n',
- ' * \n',
- ' * <%= meta.copyright %>, <%= pkg.author.name %> \n',
- ' * Licensed under the <%= meta.license %> License. \n',
- ' * \n',
- ' */ \n\n'
+ '/*',
+ ' * <%= pkg.name %> v<%= pkg.version %>',
+ ' * http://assemble.io',
+ ' *',
+ ' * <%= meta.copyright %>, <%= pkg.author.name %>',
+ ' * Licensed under the <%= meta.license %> License.',
+ ' *',
+ ' */\n'
].join('\n')
},
@@ -165,7 +165,7 @@ module.exports = function(grunt) {
'test/actual/not_real.html': 'test/fixtures/plugins/after.hbs'
}
},
- // should add isActive and relativeLink to each page
+ // should add isCurrentPage and relativeLink to each page
// in the pages collection
plugin_preprocess_page_collection: {
options: {
@@ -372,6 +372,7 @@ module.exports = function(grunt) {
*/
prettify: {
tests: {
+ options: {ocd: true},
files: [
{expand: true, cwd: 'test/actual', src: ['**/*.html'], dest: 'test/actual/', ext: '.html'}
]
2  README.md
View
@@ -341,7 +341,7 @@ Released under the MIT license
***
-_This file was generated by [grunt-readme](https://github.com/assemble/grunt-readme) on Monday, December 2, 2013._
+_This file was generated by [grunt-readme](https://github.com/assemble/grunt-readme) on Wednesday, December 4, 2013._
[grunt]: http://gruntjs.com/
[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md
8 lib/plugins/page-collection-properties.js
View
@@ -23,9 +23,9 @@ var options = {
var defaults = [
- // add an isActive flag to the page if the dest matches
- function isActive(page, context) {
- page.isActive = (page.dest === context.page.dest ? true : false);
+ // add an isCurrentPage flag to the page if the dest matches
+ function isCurrentPage(page, context) {
+ page.isCurrentPage = (page.dest === context.page.dest ? true : false);
},
// add a relative link from the "current page" to the
@@ -42,7 +42,7 @@ var plugin = function(params, next) {
var options = params.assemble.options;
var pageCollectionOpts = options.pageCollection || {};
var callbacks = pageCollectionOpts.preprocess || [];
-
+
if (!_.isArray(callbacks)) {
callbacks = [callbacks];
}
48 test/actual/assets_base.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192; <strong class="text-success">test/actual/assets_base.html</strong>
+ <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/assets_base.html</strong>
</h4>
</div>
<hr>
@@ -72,12 +73,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/assets_path/assets.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/assets_base.html</h4>
- <h4><strong>Dest filename:</strong> assets_base.html</h4>
- <h4><strong>Dest basename:</strong> assets</h4>
- <h4><strong>Page title:</strong> (no title defined)</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/assets_path/assets.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/assets_base.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> assets_base.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> assets
+ </h4>
+ <h4>
+ <strong>Page title:</strong> (no title defined)
+ </h4>
</div>
<hr>
<div class="row">
@@ -101,9 +114,7 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="assets_base.html">assets_base.html</a>
- </li>
+ <li> <a href="assets_base.html">assets_base.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -142,9 +153,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="assets_base.html">assets</a>
- </li>
+ <li> <a href="assets_base.html">assets</a> </li>
<!--
"this"
===============================
@@ -204,7 +213,7 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder </h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
<h1>Same Folder</h1>\n
<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n
<h1>Project Root</h1>\n
@@ -213,22 +222,17 @@
<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n
<h1>Same Folder With Slash</h1>\n
<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n
- <div class=\
- "docs-header\" id=\ "content\">\n
+ <div class=\ "docs-header\" id=\ "content\">\n
<h1>Content</h1>\n</div>\n
<ul>\n {{#each pages}}\n
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a>
- </li>\n {{/each}}\n</ul>\n\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a> </li>\n {{/each}}\n</ul>\n\n
<hr>\n
<div style=\ "display: none\">\n\n
<h1>Page</h1>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n
<h1>Each pages</h1>\n
<ul>\n {{#each pages}}
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a>
- </li>\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a> </li>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n</ul>\n\n
<h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n</div>\n</div>\n</div>\n</div>\n</div>\n
<script src=\ "{{assets}}/validation.js\"></script>\n</body>\n
48 test/actual/assets_blank_path.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192; <strong class="text-success">test/actual/assets_blank_path.html</strong>
+ <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/assets_blank_path.html</strong>
</h4>
</div>
<hr>
@@ -72,12 +73,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/assets_path/assets.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/assets_blank_path.html</h4>
- <h4><strong>Dest filename:</strong> assets_blank_path.html</h4>
- <h4><strong>Dest basename:</strong> assets</h4>
- <h4><strong>Page title:</strong> (no title defined)</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/assets_path/assets.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/assets_blank_path.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> assets_blank_path.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> assets
+ </h4>
+ <h4>
+ <strong>Page title:</strong> (no title defined)
+ </h4>
</div>
<hr>
<div class="row">
@@ -101,9 +114,7 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="assets_blank_path.html">assets_blank_path.html</a>
- </li>
+ <li> <a href="assets_blank_path.html">assets_blank_path.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -142,9 +153,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="assets_blank_path.html">assets</a>
- </li>
+ <li> <a href="assets_blank_path.html">assets</a> </li>
<!--
"this"
===============================
@@ -204,7 +213,7 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder </h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
<h1>Same Folder</h1>\n
<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n
<h1>Project Root</h1>\n
@@ -213,22 +222,17 @@
<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n
<h1>Same Folder With Slash</h1>\n
<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n
- <div class=\
- "docs-header\" id=\ "content\">\n
+ <div class=\ "docs-header\" id=\ "content\">\n
<h1>Content</h1>\n</div>\n
<ul>\n {{#each pages}}\n
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a>
- </li>\n {{/each}}\n</ul>\n\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a> </li>\n {{/each}}\n</ul>\n\n
<hr>\n
<div style=\ "display: none\">\n\n
<h1>Page</h1>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n
<h1>Each pages</h1>\n
<ul>\n {{#each pages}}
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a>
- </li>\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a> </li>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n</ul>\n\n
<h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n</div>\n</div>\n</div>\n</div>\n</div>\n
<script src=\ "{{assets}}/validation.js\"></script>\n</body>\n
48 test/actual/assets_dot_slash.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192; <strong class="text-success">test/actual/assets_dot_slash.html</strong>
+ <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/assets_dot_slash.html</strong>
</h4>
</div>
<hr>
@@ -72,12 +73,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/assets_path/assets.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/assets_dot_slash.html</h4>
- <h4><strong>Dest filename:</strong> assets_dot_slash.html</h4>
- <h4><strong>Dest basename:</strong> assets</h4>
- <h4><strong>Page title:</strong> (no title defined)</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/assets_path/assets.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/assets_dot_slash.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> assets_dot_slash.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> assets
+ </h4>
+ <h4>
+ <strong>Page title:</strong> (no title defined)
+ </h4>
</div>
<hr>
<div class="row">
@@ -101,9 +114,7 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="assets_dot_slash.html">assets_dot_slash.html</a>
- </li>
+ <li> <a href="assets_dot_slash.html">assets_dot_slash.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -142,9 +153,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="assets_dot_slash.html">assets</a>
- </li>
+ <li> <a href="assets_dot_slash.html">assets</a> </li>
<!--
"this"
===============================
@@ -204,7 +213,7 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder </h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
<h1>Same Folder</h1>\n
<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n
<h1>Project Root</h1>\n
@@ -213,22 +222,17 @@
<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n
<h1>Same Folder With Slash</h1>\n
<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n
- <div class=\
- "docs-header\" id=\ "content\">\n
+ <div class=\ "docs-header\" id=\ "content\">\n
<h1>Content</h1>\n</div>\n
<ul>\n {{#each pages}}\n
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a>
- </li>\n {{/each}}\n</ul>\n\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a> </li>\n {{/each}}\n</ul>\n\n
<hr>\n
<div style=\ "display: none\">\n\n
<h1>Page</h1>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n
<h1>Each pages</h1>\n
<ul>\n {{#each pages}}
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a>
- </li>\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a> </li>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n</ul>\n\n
<h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n</div>\n</div>\n</div>\n</div>\n</div>\n
<script src=\ "{{assets}}/validation.js\"></script>\n</body>\n
48 test/actual/assets_nested.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192; <strong class="text-success">test/actual/assets_nested.html</strong>
+ <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/assets_nested.html</strong>
</h4>
</div>
<hr>
@@ -72,12 +73,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/assets_path/assets.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/assets_nested.html</h4>
- <h4><strong>Dest filename:</strong> assets_nested.html</h4>
- <h4><strong>Dest basename:</strong> assets</h4>
- <h4><strong>Page title:</strong> (no title defined)</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/assets_path/assets.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/assets_nested.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> assets_nested.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> assets
+ </h4>
+ <h4>
+ <strong>Page title:</strong> (no title defined)
+ </h4>
</div>
<hr>
<div class="row">
@@ -105,9 +118,7 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="assets_nested.html">assets_nested.html</a>
- </li>
+ <li> <a href="assets_nested.html">assets_nested.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -146,9 +157,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="assets_nested.html">assets</a>
- </li>
+ <li> <a href="assets_nested.html">assets</a> </li>
<!--
"this"
===============================
@@ -208,7 +217,7 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder </h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
<h1>Same Folder</h1>\n
<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n
<h1>Project Root</h1>\n
@@ -217,22 +226,17 @@
<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n
<h1>Same Folder With Slash</h1>\n
<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n
- <div class=\
- "docs-header\" id=\ "content\">\n
+ <div class=\ "docs-header\" id=\ "content\">\n
<h1>Content</h1>\n</div>\n
<ul>\n {{#each pages}}\n
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a>
- </li>\n {{/each}}\n</ul>\n\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a> </li>\n {{/each}}\n</ul>\n\n
<hr>\n
<div style=\ "display: none\">\n\n
<h1>Page</h1>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n
<h1>Each pages</h1>\n
<ul>\n {{#each pages}}
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a>
- </li>\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a> </li>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n</ul>\n\n
<h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n</div>\n</div>\n</div>\n</div>\n</div>\n
<script src=\ "{{assets}}/validation.js\"></script>\n</body>\n
48 test/actual/assets_trailing_slash.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192; <strong class="text-success">test/actual/assets_trailing_slash.html</strong>
+ <h4><strong class="text-muted">test/fixtures/assets_path/assets.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/assets_trailing_slash.html</strong>
</h4>
</div>
<hr>
@@ -72,12 +73,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/assets_path/assets.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/assets_trailing_slash.html</h4>
- <h4><strong>Dest filename:</strong> assets_trailing_slash.html</h4>
- <h4><strong>Dest basename:</strong> assets</h4>
- <h4><strong>Page title:</strong> (no title defined)</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/assets_path/assets.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/assets_trailing_slash.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> assets_trailing_slash.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> assets
+ </h4>
+ <h4>
+ <strong>Page title:</strong> (no title defined)
+ </h4>
</div>
<hr>
<div class="row">
@@ -101,9 +114,7 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="assets_trailing_slash.html">assets_trailing_slash.html</a>
- </li>
+ <li> <a href="assets_trailing_slash.html">assets_trailing_slash.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -142,9 +153,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="assets_trailing_slash.html">assets</a>
- </li>
+ <li> <a href="assets_trailing_slash.html">assets</a> </li>
<!--
"this"
===============================
@@ -204,7 +213,7 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder </h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\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</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
<h1>Same Folder</h1>\n
<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n
<h1>Project Root</h1>\n
@@ -213,22 +222,17 @@
<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n
<h1>Same Folder With Slash</h1>\n
<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n
- <div class=\
- "docs-header\" id=\ "content\">\n
+ <div class=\ "docs-header\" id=\ "content\">\n
<h1>Content</h1>\n</div>\n
<ul>\n {{#each pages}}\n
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a>
- </li>\n {{/each}}\n</ul>\n\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a> </li>\n {{/each}}\n</ul>\n\n
<hr>\n
<div style=\ "display: none\">\n\n
<h1>Page</h1>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n
<h1>Each pages</h1>\n
<ul>\n {{#each pages}}
- <li>
- <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a>
- </li>\n
+ <li> <a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a> </li>\n
<!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n</ul>\n\n
<h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n</div>\n</div>\n</div>\n</div>\n</div>\n
<script src=\ "{{assets}}/validation.js\"></script>\n</body>\n
361 test/actual/collections/asc/alert.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/pages/alert.hbs</strong> &#x2192; <strong class="text-success">test/actual/collections/asc/alert.html</strong>
+ <h4><strong class="text-muted">test/fixtures/pages/alert.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/collections/asc/alert.html</strong>
</h4>
</div>
<hr>
@@ -92,45 +93,21 @@
<li class="prev">
<a href="debug-helpers.html">&larr; Previous</a>
</li>
- <li>
- <a href="debug-helpers.html">1</a>
- </li>
+ <li> <a href="debug-helpers.html">1</a> </li>
<li class="active">
<a href="alert.html">2</a>
</li>
- <li>
- <a href="collections-tags.html">3</a>
- </li>
- <li>
- <a href="collections.html">4</a>
- </li>
- <li>
- <a href="complex.html">5</a>
- </li>
- <li>
- <a href="context.html">6</a>
- </li>
- <li>
- <a href="collections-categories.html">7</a>
- </li>
- <li>
- <a href="example.html">8</a>
- </li>
- <li>
- <a href="gist-helper.html">9</a>
- </li>
- <li>
- <a href="md-helper.html">10</a>
- </li>
- <li>
- <a href="no-yfm.html">11</a>
- </li>
- <li>
- <a href="yfm-context.html">12</a>
- </li>
- <li>
- <a href="yfm.html">13</a>
- </li>
+ <li> <a href="collections-tags.html">3</a> </li>
+ <li> <a href="collections.html">4</a> </li>
+ <li> <a href="complex.html">5</a> </li>
+ <li> <a href="context.html">6</a> </li>
+ <li> <a href="collections-categories.html">7</a> </li>
+ <li> <a href="example.html">8</a> </li>
+ <li> <a href="gist-helper.html">9</a> </li>
+ <li> <a href="md-helper.html">10</a> </li>
+ <li> <a href="no-yfm.html">11</a> </li>
+ <li> <a href="yfm-context.html">12</a> </li>
+ <li> <a href="yfm.html">13</a> </li>
<li class="next">
<a href="collections-tags.html">Next &rarr;</a>
</li>
@@ -144,12 +121,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/pages/alert.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/collections/asc/alert.html</h4>
- <h4><strong>Dest filename:</strong> alert.html</h4>
- <h4><strong>Dest basename:</strong> alert</h4>
- <h4><strong>Page title:</strong> Title for &quot;alert.hbs&quot;</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/pages/alert.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/collections/asc/alert.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> alert.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> alert
+ </h4>
+ <h4>
+ <strong>Page title:</strong> Title for &quot;alert.hbs&quot;
+ </h4>
</div>
<hr>
<div class="row">
@@ -158,7 +147,8 @@
<!-- Categories -->
<div class="panel panel-info">
<div class="panel-heading">
- <h4>categories on this page: <span class="badge badge-info">1</span>
+ <h4>categories on this page:
+ <span class="badge badge-info">1</span>
</h4>
</div>
<div class="panel-body">
@@ -168,22 +158,29 @@
<hr>
<div class="panel panel-info">
<div class="panel-heading">
- <h4>All categories: <span class="badge badge-info">13</span>
+ <h4>All categories:
+ <span class="badge badge-info">13</span>
</h4>
</div>
<div class="panel-body">
<span class="label label-info">categories</span>
- <span class="label label-info">collections</span>
+ <span class="label label-info">collections
+ </span>
<span class="label label-info">components</span>
- <span class="label label-info">context</span>
+ <span class="label label-info">context
+ </span>
<span class="label label-info">fixtures</span>
- <span class="label label-info">helper</span>
+ <span class="label label-info">helper
+ </span>
<span class="label label-info">markdown</span>
- <span class="label label-info">one</span>
+ <span class="label label-info">one
+ </span>
<span class="label label-info">pages</span>
- <span class="label label-info">three</span>
+ <span class="label label-info">three
+ </span>
<span class="label label-info">two</span>
- <span class="label label-info">yaml</span>
+ <span class="label label-info">yaml
+ </span>
<span class="label label-info">yfm</span>
</div>
</div>
@@ -196,16 +193,12 @@
<div>Related pages for: <span class="label label-info">categories</span>
</div>
<ul class="links">
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">collections</span>
</div>
<ul class="links">
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">components</span>
</div>
@@ -217,84 +210,56 @@
<div>Related pages for: <span class="label label-info">context</span>
</div>
<ul class="links">
- <li>
- <a href="context.html">context.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
+ <li> <a href="context.html">context.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">fixtures</span>
</div>
<ul class="links">
- <li>
- <a href="context.html">context.html</a>
- </li>
+ <li> <a href="context.html">context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">helper</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">markdown</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">one</span>
</div>
<ul class="links">
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">pages</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
- <li>
- <a href="context.html">context.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
+ <li> <a href="context.html">context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">three</span>
</div>
<ul class="links">
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">two</span>
</div>
<ul class="links">
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">yaml</span>
</div>
<ul class="links">
- <li>
- <a href="example.html">example.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
+ <li> <a href="example.html">example.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">yfm</span>
</div>
<ul class="links">
- <li>
- <a href="example.html">example.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
+ <li> <a href="example.html">example.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
</ul>
</div>
</div>
@@ -303,35 +268,45 @@
<!-- Tags Collection -->
<div class="panel panel-success">
<div class="panel-heading">
- <h4>Tags on this page: <span class="badge badge-success">2</span>
+ <h4>Tags on this page:
+ <span class="badge badge-success">2</span>
</h4>
</div>
<div class="panel-body">
<span class="label label-success">alert</span>
- <span class="label label-success">bootstrap</span>
+ <span class="label label-success">bootstrap
+ </span>
</div>
</div>
<hr>
<div class="panel panel-success">
<div class="panel-heading">
- <h4>All tags: <span class="badge badge-success">14</span>
+ <h4>All tags:
+ <span class="badge badge-success">14</span>
</h4>
</div>
<div class="panel-body">
<span class="label label-success">alert</span>
- <span class="label label-success">bootstrap</span>
+ <span class="label label-success">bootstrap
+ </span>
<span class="label label-success">collections</span>
- <span class="label label-success">complex</span>
+ <span class="label label-success">complex
+ </span>
<span class="label label-success">example</span>
- <span class="label label-success">examples</span>
+ <span class="label label-success">examples
+ </span>
<span class="label label-success">markdown</span>
- <span class="label label-success">md</span>
+ <span class="label label-success">md
+ </span>
<span class="label label-success">one</span>
- <span class="label label-success">tags</span>
+ <span class="label label-success">tags
+ </span>
<span class="label label-success">test</span>
- <span class="label label-success">tests</span>
+ <span class="label label-success">tests
+ </span>
<span class="label label-success">three</span>
- <span class="label label-success">two</span>
+ <span class="label label-success">two
+ </span>
</div>
</div>
<hr>
@@ -357,95 +332,65 @@
<div>Related pages for: <span class="label label-success">collections</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">complex</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">example</span>
</div>
<ul class="links">
- <li>
- <a href="example.html">example.html</a>
- </li>
+ <li> <a href="example.html">example.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">examples</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">markdown</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">md</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">one</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">tags</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">test</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">tests</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">three</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">two</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
</ul>
</div>
</div>
@@ -458,45 +403,19 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="debug-helpers.html">debug-helpers.html</a>
- </li>
- <li>
- <a href="alert.html">alert.html</a>
- </li>
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
- <li>
- <a href="complex.html">complex.html</a>
- </li>
- <li>
- <a href="context.html">context.html</a>
- </li>
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
- <li>
- <a href="example.html">example.html</a>
- </li>
- <li>
- <a href="gist-helper.html">gist-helper.html</a>
- </li>
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
- <li>
- <a href="no-yfm.html">no-yfm.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
- <li>
- <a href="yfm.html">yfm.html</a>
- </li>
+ <li> <a href="debug-helpers.html">debug-helpers.html</a> </li>
+ <li> <a href="alert.html">alert.html</a> </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
+ <li> <a href="complex.html">complex.html</a> </li>
+ <li> <a href="context.html">context.html</a> </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
+ <li> <a href="example.html">example.html</a> </li>
+ <li> <a href="gist-helper.html">gist-helper.html</a> </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
+ <li> <a href="no-yfm.html">no-yfm.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
+ <li> <a href="yfm.html">yfm.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -535,9 +454,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="debug-helpers.html">debug-helpers</a>
- </li>
+ <li> <a href="debug-helpers.html">debug-helpers</a> </li>
<!--
"this"
===============================
@@ -567,9 +484,7 @@
basename: debug-helpers
ext: .html
-->
- <li>
- <a href="alert.html">alert</a>
- </li>
+ <li> <a href="alert.html">alert</a> </li>
<!--
"this"
===============================
@@ -599,9 +514,7 @@
basename: alert
ext: .html
-->
- <li>
- <a href="collections-tags.html">collections-tags</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags</a> </li>
<!--
"this"
===============================
@@ -631,9 +544,7 @@
basename: collections-tags
ext: .html
-->
- <li>
- <a href="collections.html">collections</a>
- </li>
+ <li> <a href="collections.html">collections</a> </li>
<!--
"this"
===============================
@@ -663,9 +574,7 @@
basename: collections
ext: .html
-->
- <li>
- <a href="complex.html">complex</a>
- </li>
+ <li> <a href="complex.html">complex</a> </li>
<!--
"this"
===============================
@@ -695,9 +604,7 @@
basename: complex
ext: .html
-->
- <li>
- <a href="context.html">context</a>
- </li>
+ <li> <a href="context.html">context</a> </li>
<!--
"this"
===============================
@@ -727,9 +634,7 @@
basename: context
ext: .html
-->
- <li>
- <a href="collections-categories.html">collections-categories</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories</a> </li>
<!--
"this"
===============================
@@ -759,9 +664,7 @@
basename: collections-categories
ext: .html
-->
- <li>
- <a href="example.html">example</a>
- </li>
+ <li> <a href="example.html">example</a> </li>
<!--
"this"
===============================
@@ -791,9 +694,7 @@
basename: example
ext: .html
-->
- <li>
- <a href="gist-helper.html">gist-helper</a>
- </li>
+ <li> <a href="gist-helper.html">gist-helper</a> </li>
<!--
"this"
===============================
@@ -823,9 +724,7 @@
basename: gist-helper
ext: .html
-->
- <li>
- <a href="md-helper.html">md-helper</a>
- </li>
+ <li> <a href="md-helper.html">md-helper</a> </li>
<!--
"this"
===============================
@@ -855,9 +754,7 @@
basename: md-helper
ext: .html
-->
- <li>
- <a href="no-yfm.html">no-yfm</a>
- </li>
+ <li> <a href="no-yfm.html">no-yfm</a> </li>
<!--
"this"
===============================
@@ -887,9 +784,7 @@
basename: no-yfm
ext: .html
-->
- <li>
- <a href="yfm-context.html">yfm-context</a>
- </li>
+ <li> <a href="yfm-context.html">yfm-context</a> </li>
<!--
"this"
===============================
@@ -919,9 +814,7 @@
basename: yfm-context
ext: .html
-->
- <li>
- <a href="yfm.html">yfm</a>
- </li>
+ <li> <a href="yfm.html">yfm</a> </li>
<!--
"this"
===============================
@@ -1009,7 +902,7 @@
"filename": "alert.html",
"first": false,
"index": 1,
- "isActive": false,
+ "isCurrentPage": false,
"items": [
"collections",
"custom"
@@ -1021,7 +914,7 @@
"one": {
"two": "This is an alert"
},
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n \n\n<h2>{{{title}}}</h2>\n<div class=\"alert alert-info\">{{{one.two}}}</div>\n\n\n <div class=\"docs-header\" id=\"content\">\n <h1>Content</h1>\n </div>\n <ul>\n {{#each pages}}\n <li><a href=\"{{relative ../page.dest dest}}\">{{filename}}</a></li>\n {{/each}}\n </ul>\n\n <hr>\n <div style=\"display: none\">\n\n <h1>Page</h1>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n <h1>Each pages</h1>\n <ul>\n {{#each pages}}<li><a href=\"{{relative ../page.dest dest}}\">{{basename}}</a></li>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n </ul>\n\n <h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n </div>\n </div>\n </div>\n </div>\n </div>\n <script src=\"{{assets}}/validation.js\"></script>\n </body>\n</html>\n",
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n \n\n<h2>{{{title}}}</h2>\n<div class=\"alert alert-info\">{{{one.two}}}</div>\n\n\n <div class=\"docs-header\" id=\"content\">\n <h1>Content</h1>\n </div>\n <ul>\n {{#each pages}}\n <li> <a href=\"{{relative ../page.dest dest}}\">{{filename}}</a></li>\n {{/each}}\n </ul>\n\n <hr>\n <div style=\"display: none\">\n\n <h1>Page</h1>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n <h1>Each pages</h1>\n <ul>\n {{#each pages}}<li><a href=\"{{relative ../page.dest dest}}\">{{basename}}</a> </li>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n </ul>\n\n <h1>Debug Info </h1>\n {{{inspect page 'json'}}}\n </div>\n </div>\n </div>\n </div>\n </div>\n <script src=\"{{assets}}/validation.js\"></script>\n </body>\n</html>\n",
"pageName": "alert.html",
"pagename": "alert.html",
"prev": 0,
374 test/actual/collections/asc/collections-categories.html
View
@@ -12,7 +12,8 @@
<section id="validate"></section>
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong class="text-muted">test/fixtures/pages/collections-categories.hbs</strong> &#x2192; <strong class="text-success">test/actual/collections/asc/collections-categories.html</strong>
+ <h4><strong class="text-muted">test/fixtures/pages/collections-categories.hbs</strong> &#x2192;
+ <strong class="text-success">test/actual/collections/asc/collections-categories.html</strong>
</h4>
</div>
<hr>
@@ -92,45 +93,21 @@
<li class="prev">
<a href="context.html">&larr; Previous</a>
</li>
- <li>
- <a href="debug-helpers.html">1</a>
- </li>
- <li>
- <a href="alert.html">2</a>
- </li>
- <li>
- <a href="collections-tags.html">3</a>
- </li>
- <li>
- <a href="collections.html">4</a>
- </li>
- <li>
- <a href="complex.html">5</a>
- </li>
- <li>
- <a href="context.html">6</a>
- </li>
+ <li> <a href="debug-helpers.html">1</a> </li>
+ <li> <a href="alert.html">2</a> </li>
+ <li> <a href="collections-tags.html">3</a> </li>
+ <li> <a href="collections.html">4</a> </li>
+ <li> <a href="complex.html">5</a> </li>
+ <li> <a href="context.html">6</a> </li>
<li class="active">
<a href="collections-categories.html">7</a>
</li>
- <li>
- <a href="example.html">8</a>
- </li>
- <li>
- <a href="gist-helper.html">9</a>
- </li>
- <li>
- <a href="md-helper.html">10</a>
- </li>
- <li>
- <a href="no-yfm.html">11</a>
- </li>
- <li>
- <a href="yfm-context.html">12</a>
- </li>
- <li>
- <a href="yfm.html">13</a>
- </li>
+ <li> <a href="example.html">8</a> </li>
+ <li> <a href="gist-helper.html">9</a> </li>
+ <li> <a href="md-helper.html">10</a> </li>
+ <li> <a href="no-yfm.html">11</a> </li>
+ <li> <a href="yfm-context.html">12</a> </li>
+ <li> <a href="yfm.html">13</a> </li>
<li class="next">
<a href="example.html">Next &rarr;</a>
</li>
@@ -144,12 +121,24 @@
<div class="col-md-9" role="main">
<div class="docs-section">
<div class="docs-header" id="content">
- <h4><strong>Page layout:</strong> default.hbs</h4>
- <h4><strong>Page src:</strong> test/fixtures/pages/collections-categories.hbs</h4>
- <h4><strong>Page dest:</strong> test/actual/collections/asc/collections-categories.html</h4>
- <h4><strong>Dest filename:</strong> collections-categories.html</h4>
- <h4><strong>Dest basename:</strong> collections-categories</h4>
- <h4><strong>Page title:</strong> Collections Categories</h4>
+ <h4>
+ <strong>Page layout:</strong> default.hbs
+ </h4>
+ <h4>
+ <strong>Page src:</strong> test/fixtures/pages/collections-categories.hbs
+ </h4>
+ <h4>
+ <strong>Page dest:</strong> test/actual/collections/asc/collections-categories.html
+ </h4>
+ <h4>
+ <strong>Dest filename:</strong> collections-categories.html
+ </h4>
+ <h4>
+ <strong>Dest basename:</strong> collections-categories
+ </h4>
+ <h4>
+ <strong>Page title:</strong> Collections Categories
+ </h4>
</div>
<hr>
<div class="row">
@@ -158,36 +147,46 @@
<!-- Categories -->
<div class="panel panel-info">
<div class="panel-heading">
- <h4>categories on this page: <span class="badge badge-info">5</span>
+ <h4>categories on this page:
+ <span class="badge badge-info">5</span>
</h4>
</div>
<div class="panel-body">
<span class="label label-info">collections</span>
- <span class="label label-info">categories</span>
+ <span class="label label-info">categories
+ </span>
<span class="label label-info">one</span>
- <span class="label label-info">two</span>
+ <span class="label label-info">two
+ </span>
<span class="label label-info">three</span>
</div>
</div>
<hr>
<div class="panel panel-info">
<div class="panel-heading">
- <h4>All categories: <span class="badge badge-info">13</span>
+ <h4>All categories:
+ <span class="badge badge-info">13</span>
</h4>
</div>
<div class="panel-body">
<span class="label label-info">categories</span>
- <span class="label label-info">collections</span>
+ <span class="label label-info">collections
+ </span>
<span class="label label-info">components</span>
- <span class="label label-info">context</span>
+ <span class="label label-info">context
+ </span>
<span class="label label-info">fixtures</span>
- <span class="label label-info">helper</span>
+ <span class="label label-info">helper
+ </span>
<span class="label label-info">markdown</span>
- <span class="label label-info">one</span>
+ <span class="label label-info">one
+ </span>
<span class="label label-info">pages</span>
- <span class="label label-info">three</span>
+ <span class="label label-info">three
+ </span>
<span class="label label-info">two</span>
- <span class="label label-info">yaml</span>
+ <span class="label label-info">yaml
+ </span>
<span class="label label-info">yfm</span>
</div>
</div>
@@ -214,40 +213,28 @@
<div>Related pages for: <span class="label label-info">components</span>
</div>
<ul class="links">
- <li>
- <a href="alert.html">alert.html</a>
- </li>
+ <li> <a href="alert.html">alert.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">context</span>
</div>
<ul class="links">
- <li>
- <a href="context.html">context.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
+ <li> <a href="context.html">context.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">fixtures</span>
</div>
<ul class="links">
- <li>
- <a href="context.html">context.html</a>
- </li>
+ <li> <a href="context.html">context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">helper</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">markdown</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">one</span>
</div>
@@ -259,12 +246,8 @@
<div>Related pages for: <span class="label label-info">pages</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
- <li>
- <a href="context.html">context.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
+ <li> <a href="context.html">context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">three</span>
</div>
@@ -283,22 +266,14 @@
<div>Related pages for: <span class="label label-info">yaml</span>
</div>
<ul class="links">
- <li>
- <a href="example.html">example.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
+ <li> <a href="example.html">example.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-info">yfm</span>
</div>
<ul class="links">
- <li>
- <a href="example.html">example.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
+ <li> <a href="example.html">example.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
</ul>
</div>
</div>
@@ -307,7 +282,8 @@
<!-- Tags Collection -->
<div class="panel panel-success">
<div class="panel-heading">
- <h4>Tags on this page: <span class="badge badge-success">0</span>
+ <h4>Tags on this page:
+ <span class="badge badge-success">0</span>
</h4>
</div>
<div class="panel-body">
@@ -317,24 +293,32 @@
<hr>
<div class="panel panel-success">
<div class="panel-heading">
- <h4>All tags: <span class="badge badge-success">14</span>
+ <h4>All tags:
+ <span class="badge badge-success">14</span>
</h4>
</div>
<div class="panel-body">
<span class="label label-success">alert</span>
- <span class="label label-success">bootstrap</span>
+ <span class="label label-success">bootstrap
+ </span>
<span class="label label-success">collections</span>
- <span class="label label-success">complex</span>
+ <span class="label label-success">complex
+ </span>
<span class="label label-success">example</span>
- <span class="label label-success">examples</span>
+ <span class="label label-success">examples
+ </span>
<span class="label label-success">markdown</span>
- <span class="label label-success">md</span>
+ <span class="label label-success">md
+ </span>
<span class="label label-success">one</span>
- <span class="label label-success">tags</span>
+ <span class="label label-success">tags
+ </span>
<span class="label label-success">test</span>
- <span class="label label-success">tests</span>
+ <span class="label label-success">tests
+ </span>
<span class="label label-success">three</span>
- <span class="label label-success">two</span>
+ <span class="label label-success">two
+ </span>
</div>
</div>
<hr>
@@ -346,109 +330,75 @@
<div>Related pages for: <span class="label label-success">alert</span>
</div>
<ul class="links">
- <li>
- <a href="alert.html">alert.html</a>
- </li>
+ <li> <a href="alert.html">alert.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">bootstrap</span>
</div>
<ul class="links">
- <li>
- <a href="alert.html">alert.html</a>
- </li>
+ <li> <a href="alert.html">alert.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">collections</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">complex</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">example</span>
</div>
<ul class="links">
- <li>
- <a href="example.html">example.html</a>
- </li>
+ <li> <a href="example.html">example.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">examples</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">markdown</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">md</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">one</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">tags</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">test</span>
</div>
<ul class="links">
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">tests</span>
</div>
<ul class="links">
- <li>
- <a href="complex.html">complex.html</a>
- </li>
+ <li> <a href="complex.html">complex.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">three</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
</ul>
<div>Related pages for: <span class="label label-success">two</span>
</div>
<ul class="links">
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
</ul>
</div>
</div>
@@ -461,17 +411,23 @@
</div>
<div class="panel-body">
<span class="label label-info">categories</span>
- <span class="label label-info">collections</span>
+ <span class="label label-info">collections
+ </span>
<span class="label label-info">components</span>
- <span class="label label-info">context</span>
+ <span class="label label-info">context
+ </span>
<span class="label label-info">fixtures</span>
- <span class="label label-info">helper</span>
+ <span class="label label-info">helper
+ </span>
<span class="label label-info">markdown</span>
- <span class="label label-info">one</span>
+ <span class="label label-info">one
+ </span>
<span class="label label-info">pages</span>
- <span class="label label-info">three</span>
+ <span class="label label-info">three
+ </span>
<span class="label label-info">two</span>
- <span class="label label-info">yaml</span>
+ <span class="label label-info">yaml
+ </span>
<span class="label label-info">yfm</span>
</div>
</div>
@@ -479,45 +435,19 @@
<h1>Content</h1>
</div>
<ul>
- <li>
- <a href="debug-helpers.html">debug-helpers.html</a>
- </li>
- <li>
- <a href="alert.html">alert.html</a>
- </li>
- <li>
- <a href="collections-tags.html">collections-tags.html</a>
- </li>
- <li>
- <a href="collections.html">collections.html</a>
- </li>
- <li>
- <a href="complex.html">complex.html</a>
- </li>
- <li>
- <a href="context.html">context.html</a>
- </li>
- <li>
- <a href="collections-categories.html">collections-categories.html</a>
- </li>
- <li>
- <a href="example.html">example.html</a>
- </li>
- <li>
- <a href="gist-helper.html">gist-helper.html</a>
- </li>
- <li>
- <a href="md-helper.html">md-helper.html</a>
- </li>
- <li>
- <a href="no-yfm.html">no-yfm.html</a>
- </li>
- <li>
- <a href="yfm-context.html">yfm-context.html</a>
- </li>
- <li>
- <a href="yfm.html">yfm.html</a>
- </li>
+ <li> <a href="debug-helpers.html">debug-helpers.html</a> </li>
+ <li> <a href="alert.html">alert.html</a> </li>
+ <li> <a href="collections-tags.html">collections-tags.html</a> </li>
+ <li> <a href="collections.html">collections.html</a> </li>
+ <li> <a href="complex.html">complex.html</a> </li>
+ <li> <a href="context.html">context.html</a> </li>
+ <li> <a href="collections-categories.html">collections-categories.html</a> </li>
+ <li> <a href="example.html">example.html</a> </li>
+ <li> <a href="gist-helper.html">gist-helper.html</a> </li>
+ <li> <a href="md-helper.html">md-helper.html</a> </li>
+ <li> <a href="no-yfm.html">no-yfm.html</a> </li>
+ <li> <a href="yfm-context.html">yfm-context.html</a> </li>
+ <li> <a href="yfm.html">yfm.html</a> </li>
</ul>
<hr>
<div style="display: none">
@@ -556,9 +486,7 @@
-->
<h1>Each pages</h1>
<ul>
- <li>
- <a href="debug-helpers.html">debug-helpers</a>
- </li>
+ <li> <a href="debug-helpers.html">debug-helpers</a> </li>
<!--
"this"
===============================
@@ -588,9 +516,7 @@
basename: debug-helpers
ext: .html
-->
- <li>
- <a href="alert.html">alert</a>
- </li>
+ <li> <a href="alert.html">alert</a> </li>
<!--
"this"
===============================
@@ -620,9 +546,7 @@
basename: alert
ext: .html
-->
- <li>
- <a href="collections-tags.html">collections-tags</a>
- </li>
+ <li> <a href="collections-tags.html">collections-tags</a> </li>
<!--
"this"
===============================
@@ -652,9 +576,7 @@
basename: collections-tags
ext: .html
-->
- <li>
- <a href="collections.html">collections</a>
- </li>
+ <li> <a href="collections.html">collections</a> </li>
<!--
"this"
===============================
@@ -684,9 +606,7 @@
basename: collections
ext: .html
-->
- <li>
- <a href="complex.html">complex</a>
- </li>
+ <li> <a href="complex.html">complex</a> </li>
<!--
"this"
===============================
@@ -716,9 +636,7 @@
basename: complex
ext: .html
-->
- <li>
- <a href="context.html">context</a>
- </li>
+ <li> <a href="context.html">context</a> </li>
<!--
"this"
===============================
@@ -748,9 +666,7 @@
basename: context
ext: .html
-->
- <li>
- <a href="collections-categories.html">collections-categories</a>
- </li>
+ <li> <a href="collections-categories.html">collections-categories</a> </li>
<!--
"this"
===============================
@@ -780,9 +696,7 @@
basename: collections-categories
ext: .html
-->
- <li>
- <a href="example.html">example</a>
- </li>
+ <li> <a href="example.html">example</a> </li>
<!--
"this"
===============================
@@ -812,9 +726,7 @@
basename: example
ext: .html
-->
- <li>
- <a href="gist-helper.html">gist-helper</a>
- </li>
+ <li> <a href="gist-helper.html">gist-helper</a> </li>
<!--
"this"
===============================
@@ -844,9 +756,7 @@
basename: gist-helper