diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..818e072 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +end_of_line = lf +charset = utf-8 +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true + +[{**/{actual,fixtures,expected,templates}/**,*.md}] +trim_trailing_whitespace = false +insert_final_newline = false \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..948dbdb --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,122 @@ +{ + "ecmaFeatures": { + "modules": true, + "experimentalObjectRestSpread": true + }, + + "env": { + "browser": false, + "es6": true, + "node": true, + "mocha": true + }, + + "globals": { + "document": false, + "navigator": false, + "window": false + }, + + "rules": { + "accessor-pairs": 2, + "arrow-spacing": [2, { "before": true, "after": true }], + "block-spacing": [2, "always"], + "brace-style": [2, "1tbs", { "allowSingleLine": true }], + "comma-dangle": [2, "never"], + "comma-spacing": [2, { "before": false, "after": true }], + "comma-style": [2, "last"], + "constructor-super": 2, + "curly": [2, "multi-line"], + "dot-location": [2, "property"], + "eol-last": 2, + "eqeqeq": [2, "allow-null"], + "generator-star-spacing": [2, { "before": true, "after": true }], + "handle-callback-err": [2, "^(err|error)$" ], + "indent": [2, 2, { "SwitchCase": 1 }], + "key-spacing": [2, { "beforeColon": false, "afterColon": true }], + "keyword-spacing": [2, { "before": true, "after": true }], + "new-cap": [2, { "newIsCap": true, "capIsNew": false }], + "new-parens": 2, + "no-array-constructor": 2, + "no-caller": 2, + "no-class-assign": 2, + "no-cond-assign": 2, + "no-const-assign": 2, + "no-control-regex": 2, + "no-debugger": 2, + "no-delete-var": 2, + "no-dupe-args": 2, + "no-dupe-class-members": 2, + "no-dupe-keys": 2, + "no-duplicate-case": 2, + "no-empty-character-class": 2, + "no-eval": 2, + "no-ex-assign": 2, + "no-extend-native": 2, + "no-extra-bind": 2, + "no-extra-boolean-cast": 2, + "no-extra-parens": [2, "functions"], + "no-fallthrough": 2, + "no-floating-decimal": 2, + "no-func-assign": 2, + "no-implied-eval": 2, + "no-inner-declarations": [2, "functions"], + "no-invalid-regexp": 2, + "no-irregular-whitespace": 2, + "no-iterator": 2, + "no-label-var": 2, + "no-labels": 2, + "no-lone-blocks": 2, + "no-mixed-spaces-and-tabs": 2, + "no-multi-spaces": 2, + "no-multi-str": 2, + "no-multiple-empty-lines": [2, { "max": 1 }], + "no-native-reassign": 0, + "no-negated-in-lhs": 2, + "no-new": 2, + "no-new-func": 2, + "no-new-object": 2, + "no-new-require": 2, + "no-new-wrappers": 2, + "no-obj-calls": 2, + "no-octal": 2, + "no-octal-escape": 2, + "no-proto": 0, + "no-redeclare": 2, + "no-regex-spaces": 2, + "no-return-assign": 2, + "no-self-compare": 2, + "no-sequences": 2, + "no-shadow-restricted-names": 2, + "no-spaced-func": 2, + "no-sparse-arrays": 2, + "no-this-before-super": 2, + "no-throw-literal": 2, + "no-trailing-spaces": 0, + "no-undef": 2, + "no-undef-init": 2, + "no-unexpected-multiline": 2, + "no-unneeded-ternary": [2, { "defaultAssignment": false }], + "no-unreachable": 2, + "no-unused-vars": [2, { "vars": "all", "args": "none" }], + "no-useless-call": 0, + "no-with": 2, + "one-var": [0, { "initialized": "never" }], + "operator-linebreak": [0, "after", { "overrides": { "?": "before", ":": "before" } }], + "padded-blocks": [0, "never"], + "quotes": [2, "single", "avoid-escape"], + "radix": 2, + "semi": [2, "always"], + "semi-spacing": [2, { "before": false, "after": true }], + "space-before-blocks": [2, "always"], + "space-before-function-paren": [2, "never"], + "space-in-parens": [2, "never"], + "space-infix-ops": 2, + "space-unary-ops": [2, { "words": true, "nonwords": false }], + "spaced-comment": [0, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }], + "use-isnan": 2, + "valid-typeof": 2, + "wrap-iife": [2, "any"], + "yoda": [2, "never"] + } +} diff --git a/CONTRIBUTING.md b/.github/contributing.md similarity index 100% rename from CONTRIBUTING.md rename to .github/contributing.md diff --git a/.gitignore b/.gitignore index be65a46..473e254 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,30 @@ -lib-cov -*.seed -*.log -*.csv -*.dat -*.out -*.pid -*.gz -*.rar -npm-debug.log -node_modules -pids -logs +# always ignore files +*.DS_Store +*.sublime-* + +# test related, or directories generated by tests +test/actual +actual +coverage +.nyc* +# npm +node_modules +npm-debug.log -release -/tmp/ -/temp/ +# yarn +yarn.lock +yarn-error.log +# misc +_gh_pages +_draft +_drafts +bower_components +vendor +temp +tmp TODO.md -*.sublime-project -*.sublime-workspace \ No newline at end of file +examples/*/dist +examples/*/site diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index 7935e4f..0000000 --- a/.jshintrc +++ /dev/null @@ -1,24 +0,0 @@ -{ - "esnext": true, - "boss": true, - "curly": true, - "eqeqeq": true, - "eqnull": true, - "immed": true, - "latedef": true, - "newcap": true, - "noarg": true, - "node": true, - "sub": true, - "undef": true, - "unused": true, - "globals": { - "define": true, - "before": true, - "after": true, - "describe": true, - "xdescribe": true, - "it": true, - "xit": true - } -} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index f9cffe6..58dcd48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,13 @@ sudo: false +os: + - linux + - osx language: node_js node_js: - - "0.10" - - "0.12" - - "iojs" -git: - depth: 10 + - node + - '7' + - '6' + - '5' + - '4' + - '0.12' + - '0.10' diff --git a/.verbrc.md b/.verb.md similarity index 93% rename from .verbrc.md rename to .verb.md index ceb797c..fcc2361 100644 --- a/.verbrc.md +++ b/.verb.md @@ -1,6 +1,3 @@ ---- -author: 'Jon Schlinkert, Brian Woodward' ---- # {%= name %} {%= badge("fury") %} {%= badge("travis") %} > {%= description %} @@ -30,13 +27,13 @@ Versions of `grunt-assemble` at and above `0.2.0` contain the code from the orig ## The "assemble" task ### Getting Started -{%= docs("getting-started") %} +{%= doc("getting-started") %} ### Options -{%= docs("options") %} +{%= doc("options") %} ### Usage Examples -{%= docs("examples") %} +{%= doc("examples") %} ## Contributing {%= include("contributing") %} @@ -63,7 +60,7 @@ Versions of `grunt-assemble` at and above `0.2.0` contain the code from the orig ## License {%= copyright() %} -{%= license() %} +{%= license %} *** diff --git a/Gruntfile.js b/Gruntfile.js index e941b2e..b2859c2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -6,366 +6,46 @@ */ module.exports = function(grunt) { - - // Report elapsed execution time of grunt tasks. - require('time-grunt')(grunt); + var targets = require('./test/targets')(grunt); + // console.log(targets); // Project configuration. grunt.initConfig({ - // Metadata for tests - pkg : grunt.file.readJSON('package.json'), - config: grunt.file.readJSON('test/fixtures/data/config.json'), - site: grunt.file.readYAML('test/fixtures/data/_site.yml'), - - /** - * Lint all JavaScript - */ - jshint: { - options: { - jshintrc: '.jshintrc' - }, - files: [ - 'Gruntfile.js', - 'lib/**/*.js', - 'tasks/**/*.js', - 'test/**/*.js' - ] - }, + assemble: targets, + // assemble: { + // options: { + // data: {title: 'Site title!'}, + // assets: 'test/assets', + // helpers: ['test/helpers/*.js'], + // layoutdir: 'test/fixtures/layouts', + // layout: 'default', + // flatten: true + // }, - /** - * Run mocha tests. - */ - mochaTest: { - tests: { - options: { - reporter: 'progress' - }, - src: ['test/**/*_test.js'] - } - }, - - - /** - * Assemble examples/tests - */ - assemble: { - options: { - assets: 'test/assets', - helpers: ['test/helpers/*.js'], - layoutdir: 'test/fixtures/layouts', - layout: 'default.hbs', - flatten: true - }, - // Should render pages with `layout: false` or `layout: none` defined - no_layout: { - files: { - 'test/actual/no_layout/': ['test/fixtures/pages/nolayout/*.hbs'] - } - }, - // Should allow Layouts defined in YFM to be defined without an extension. - layout_ext: { - options: { - layout: 'none', // override default, layout is redefined in YFM - layoutext: '.hbs' - }, - files: { - 'test/actual/layout_ext/': ['test/fixtures/pages/layoutext/layoutext.hbs'] - } - }, - // Should flatten nested layouts - nested_layouts: { - options: { - partials: 'test/fixtures/partials/*.hbs', - data: 'test/fixtures/data/*.{json,yml}', - layout: 'one.hbs' - }, - files: { - 'test/actual/nested_layouts/': ['test/fixtures/pages/nested/*.hbs'] - } - }, - // Should register locally-defined custom helpers - custom_helpers: { - options: { - helpers: ['test/helpers/*.js'], - name: '<%= pkg.name %>' - }, - files: { - 'test/actual/custom_helpers/': ['test/fixtures/helpers/{foo,bar,opt}.hbs'] - } - }, - // Should register and use custom plugins, without a stage defined - plugin_untitled: { - options: { - plugins: ['./test/plugins/untitled.js'] - }, - files: { - 'test/actual/plugin_untitled.html': 'test/fixtures/plugins/untitled.hbs' - } - }, - // Should use custom plugins with 'render:pre:pages' stage defined - plugin_before: { - options: { - plugins: ['./test/plugins/plugin_before.js'] - }, - files: { - 'test/actual/plugin_before.html': 'test/fixtures/plugins/before.hbs' - } - }, - // Should use custom plugins with 'render:post:pages' stage defined - plugin_after: { - options: { - plugins: ['./test/plugins/plugin_after.js'] - }, - files: { - 'test/actual/plugin_after.html': 'test/fixtures/plugins/after.hbs' - } - }, - // Should use custom plugins with 'render:pre:page' stage defined - plugin_pre_page: { - options: { - plugins: ['./test/plugins/plugin_pre_page.js'] - }, - files: { - 'test/actual/plugin_pre_page.html': 'test/fixtures/plugins/after.hbs' - } - }, - // Should do nothing for a non-existant plugin - plugin_none: { - options: { - plugins: ['./test/plugins/not_real.js'] - }, - files: { - 'test/actual/not_real.html': 'test/fixtures/plugins/after.hbs' - } - }, - // should add isCurrentPage and relativeLink to each page - // in the pages collection - plugin_preprocess_page_collection: { - options: { - partials: ['test/fixtures/partials/*.hbs'], - data: 'test/fixtures/data/*.{json,yml}', - layout: 'preprocess.hbs', - pageCollection: { - preprocess: require('./test/plugins/page_collection_preprocessing.js') - } - }, - files: { - 'test/actual/plugin_preprocess/': ['test/fixtures/pages/*.hbs'] - } - }, - // Path construction based on built-in variables - // Should automatically calculate relative paths correctly - paths: { - options: { - partials: 'test/fixtures/partials/*.hbs', - data: 'test/fixtures/data/*.{json,yml}' - }, - files: { - 'test/actual/paths/': ['test/fixtures/pages/*.hbs'] - } - }, - // Should build a single page, with explicit dest page name defined - single_page: { - files: { - 'test/actual/single_page.html': ['test/fixtures/pages/example.hbs'] - } - }, - // Should process and add complex YAML front matter to context - yfm: { - options: { - data: 'test/fixtures/data/*.{json,yml}' - }, - files: { - 'test/actual/yfm/': ['test/fixtures/pages/yfm/*.hbs'] - } - }, - // Should process pages no YAML front matter defined - noyfm: { - options: { - data: 'test/fixtures/data/*.{json,yml}' - }, - files: { - 'test/actual/noyfm/': ['test/fixtures/pages/no-yfm.hbs'] - } - }, - // Should properly calculate relative paths from nested pages - // to `assets` directory - assets_base: { - options: {assets: 'test/assets', assets_base: true}, - files: { - 'test/actual/assets_base.html': ['test/fixtures/assets_path/assets.hbs'] - } - }, - // Should properly calculate relative paths from pages to `assets` directory - assets_nested: { - options: {assets: 'test/assets/nested', assets_nested: true}, - files: { - 'test/actual/assets_nested.html': ['test/fixtures/assets_path/assets.hbs'] - } - }, - // Should properly calculate path to `assets` directory when defined - // with a trailing slash - assets_trailing_slash: { - options: {assets: 'test/assets/', assets_trailing_slash: true}, - files: { - 'test/actual/assets_trailing_slash.html': ['test/fixtures/assets_path/assets.hbs'] - } - }, - // Should properly calculate path to `assets` directory when the path - // begins with `./` - assets_dot_slash: { - options: {assets: './test/assets', assets_dot_slash: true}, - files: { - 'test/actual/assets_dot_slash.html': ['test/fixtures/assets_path/assets.hbs'] - } - }, - // Should properly calculate path to `assets` directory when the - // assets path is blank - assets_blank_path: { - options: {assets: '', assets_blank_path: true}, - files: { - 'test/actual/assets_blank_path.html': ['test/fixtures/assets_path/assets.hbs'] - } - }, - // Should add collections to context, sorted in descending order. - collections_desc: { - options: { - collections: [ - {name: 'pages', inflection: 'page', sortorder: 'DESC'}, - {name: 'tags', inflection: 'tag', sortorder: 'DESC'}, - {name: 'categories', inflection: 'category', sortorder: 'DESC'} - ] - }, - files: { - 'test/actual/collections/desc/': ['test/fixtures/pages/*.hbs'] - } - }, - // Should add collections to context, sorted in ascending order. - collections_asc: { - options: { - collections: [ - {name: 'pages', inflection: 'page', sortorder: 'ASC'}, - {name: 'tags', inflection: 'tag', sortorder: 'ASC'}, - {name: 'categories', inflection: 'category', sortorder: 'ASC'} - ] - }, - files: { - 'test/actual/collections/asc/': ['test/fixtures/pages/*.hbs'] - } - }, - // Should - collections_custom: { - options: { - collections: [ - {name: 'items', inflection: 'item', sortorder: 'DESC'} - ] - }, - files: { - 'test/actual/collections/custom/': ['test/fixtures/pages/*.hbs'] - } - }, - // Should add complex collections and related pages to context - collections_complex: { - options: { - data: ['test/fixtures/data/collections/*.json'] - }, - files: { - 'test/actual/collections/complex/': ['test/fixtures/pages/*.hbs'] - } - }, - // Pages collections - pages_array: { - options: { - layout: "post.hbs", - site: { - title: "A Blog", - author: "Jon Schlinkert" - }, - pages: '<%= config.pages.one %>' - }, - files: { - 'test/actual/pages_array/': ['test/fixtures/pages/blog/index.hbs'] - } - }, - pages_object: { - options: { - layout: 'post.hbs', - site: { - title: 'Another Blog', - author: 'Brian Woodward' - }, - pages: '<%= config.pages.two %>' - }, - files: { - 'test/actual/pages_object/': ['test/fixtures/pages/blog/index.hbs'] - } - }, - pages_metadata: { - options: { - layout: 'post.hbs', - site: { - title: 'Another Blog with Meta', - author: 'Brian Woodward' - }, - pages: '<%= config.pages.three %>' - }, - files: { - 'test/actual/pages_metadata/': ['test/fixtures/pages/blog/index.hbs'] - } - }, - // Using glob pattern for layouts - glob_layout: { - options: { - layouts: 'test/fixtures/layouts/**/*.hbs', - layoutdir: undefined - }, - files: { - 'test/actual/globlayout/simple': ['test/fixtures/pages/globlayout/globlayout.hbs'] - } - }, - // Using glob pattern for layouts - glob_layout_multi: { - options: { - layouts: ['test/fixtures/layouts/*.hbs', 'test/fixtures/layouts/globlayout/**/*.hbs'] - }, - files: { - 'test/actual/globlayout/multi': ['test/fixtures/pages/globlayout/globlayout.hbs'] - } - } - }, - - // Example config data for "pages_array" and "pages_object" targets - component: { - one: "alert" - }, - - /** - * Before generating any new files, - * remove files from the previous build - */ + // clean up files generated by tests clean: { tests: ['test/actual/**/*'] + }, + + // lint build, test and code files + eslint: { + src: ['*.js', '{lib,tasks,test}/**/*.js'] } }); // Load NPM plugins to provide the necessary tasks. grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-mocha-test'); - grunt.loadNpmTasks('grunt-sync-pkg'); - grunt.loadNpmTasks('grunt-verb'); + grunt.loadNpmTasks('gruntify-eslint'); // Load this plugin. grunt.loadTasks('tasks'); - // Build - grunt.registerTask('docs', ['verb', 'sync']); - - // Tests to be run. - grunt.registerTask('test', ['assemble', 'mochaTest']); + // Task aliases + grunt.registerTask('lint', ['eslint']); + grunt.registerTask('test', ['clean', 'assemble']); // Default task. - grunt.registerTask('default', ['jshint', 'clean', 'test', 'docs']); -}; \ No newline at end of file + grunt.registerTask('default', ['lint', 'test']); +}; diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ca22513 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2017, Jon Schlinkert, Brian Woodward + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/LICENSE-MIT b/LICENSE-MIT deleted file mode 100644 index c74fc39..0000000 --- a/LICENSE-MIT +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2014 Jon Schlinkert, Brian Woodward, contributors. - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 43c2277..0000000 --- a/README.md +++ /dev/null @@ -1,328 +0,0 @@ -# grunt-assemble [![NPM version](https://badge.fury.io/js/grunt-assemble.svg)](http://badge.fury.io/js/grunt-assemble) [![Build Status](https://travis-ci.org/assemble/grunt-assemble.svg)](https://travis-ci.org/assemble/grunt-assemble) - - -> Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages. - -### [Visit the website →](http://assemble.io) - -### Warning! - -> Versions of `grunt-assemble` below `0.2.0` have been deprecated and can be found on the [`0.1.15-deprecated` branch](https://github.com/assemble/grunt-assemble/tree/0.1.15-deprecated). -Versions of `grunt-assemble` at and above `0.2.0` contain the code from the original `assemble` up to version `0.4.42`. - -## Why use Assemble? - -1. Most popular site generator for Grunt.js and Yeoman. Assemble is used to build hundreds of web projects, ranging in size from a single page to 14,000 pages (that we're aware of!). [Let us know if you use Assemble](https://github.com/assemble/assemble/issues/300). -1. Allows you to carve your HTML up into reusable fragments: partials, includes, sections, snippets... Whatever you prefer to call them, Assemble does that. -1. Optionally use `layouts` to wrap your pages with commonly used elements and content. -1. "Pages" can either be defined as HTML/templates, JSON or YAML, or directly inside the Gruntfile. -1. It's awesome. Lol just kidding. But seriously, Assemble... is... awesome! and it's fun to use. - -...and of course, we use Assemble to build the project's own documentation [http://assemble.io](http://assemble.io): - -**For more:** hear Jon Schlinkert and Brian Woodward discuss Assemble on **Episode 98 of the [Javascript Jabber Podcast](http://javascriptjabber.com/098-jsj-assemble-io-with-brian-woodward-and-jon-schlinkert/)**. - - -![image](https://f.cloud.github.com/assets/383994/1463257/f031bcfe-4525-11e3-9a03-89a17eee7518.png) - -## The "assemble" task - -### Getting Started -Assemble requires Grunt `~0.4.1` - -_If you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide._ - -From the same directory as your project's [Gruntfile][Getting Started] and [package.json][], install Assemble with the following command: - -```bash -npm install grunt-assemble --save-dev -``` - -Once that's done, add this line to your project's Gruntfile: - -```js -grunt.loadNpmTasks('grunt-assemble'); -``` - -### The "assemble" task -_Run the "assemble" task with the `grunt assemble` command._ - -Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide. - -In your project's Gruntfile, add a section named `assemble` to the data object passed into `grunt.initConfig()`. - -```js -assemble: { - options: { - assets: 'assets', - plugins: ['permalinks'], - partials: ['includes/**/*.hbs'], - layout: ['layouts/default.hbs'], - data: ['data/*.{json,yml}'] - }, - site: { - src: ['docs/*.hbs'], - dest: './' - } -}, -``` - -[grunt]: http://gruntjs.com/ -[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md -[package.json]: https://npmjs.org/doc/json.html - - -### Options -See the documentation for [Options](http://assemble.io/docs/Options.html) for more information. - -### [assets](http://assemble.io/docs/options-assets.html) -Type: `String` -Default: `undefined` - -Used with the `{{assets}}` variable to resolve the relative path from the _dest file_ to the _assets_ folder. - -### [data](http://assemble.io/docs/options-data.html) -Type: `String|Array|Object` -Default: `src/data` - -Specify the data to supply to your templates. Data may be formatted in `JSON`, `YAML`, [YAML front matter](http://assemble.io/docs/YAML-front-matter.html), or passed directly as an object. Wildcard patterns may also be used. - -The filenames of the selected files must not collide with the [configuration options key names](http://assemble.io/docs/Options.html#configuration-options) for the assemble build task. For example, the files must not be called `assets.yml`,`collections.json`,…. - -### [layoutdir](http://assemble.io/docs/options-layoutdir.html) -Type: `String` -Default: `undefined` - -The directory to use as the "cwd" for [layouts](http://assemble.io/docs/options-layout.html). When this option is defined, layouts may be defined using only the name of the layout. - -### [layout](http://assemble.io/docs/options-layout.html) -Type: `String` -Default: `undefined` - -If set, this defines the layout file to use for the [task or target][tasks-and-targets]. However, when specifying a layout, unlike Jekyll, _Assemble requires a file extension_ since you are not limited to using a single file type. - -### layoutext -Type: `String` -Default: `undefined` - -Specify the extension to use for layouts, enabling layouts in YAML front matter to be defined without an extension: - -```yaml ---- -layout: default ---- -``` - -[tasks-and-targets]: http://gruntjs.com/configuring-tasks#task-configuration-and-targets - -### [partials](http://assemble.io/docs/options-partials.html) -Type: `String|Array` -Default: `undefined` - -Specifies the Handlebars partials files, or paths to the directories of files to be used. - -### [plugins](http://assemble.io/plugins/) -Type: `String|Array` -Default: `undefined` - -Name of the npm module to use and/or the path(s) to any custom plugins to use. Wildcard patterns may also be used. - -See the [docs for plugins](http://assemble.io/plugins/). - -### [helpers](http://assemble.io/docs/options-helpers.html) -Type: `String|Array` -Default: [handlebars-helpers](http://github.com/assemble/handlebars-helpers) - -Name of the npm module to use and/or the path(s) to any custom helpers to use with the current template engine. Wildcard patterns may also be used. - -By default, Assemble includes [handlebars-helpers]((http://assemble.io/helpers/)) as a dependency, so any helpers from that library are already available to be used in your templates. - -See the [docs for helpers](http://assemble.io/helpers/). - -### [ext](http://assemble.io/docs/options-ext.html) -Type: `String` -Default: `.html` - -Specify the file extension for destination files. Example: - -### [marked](http://assemble.io/docs/options-marked.html) -Type: `Object` -Default: [Marked.js defaults](https://github.com/chjj/marked#options-1) - -Specify the [Marked.js options](https://github.com/chjj/marked#options-1) for the `{{#markdown}}{{/markdown}}` and `{{md ""}}` helpers to use when converting content. - -### [engine](http://assemble.io/docs/options-engine.html) -Type: `String` -Default: `Handlebars` - -Specify the engine to use for compiling templates **if you are not using Handlebars**. - -Also see [assemble-swig](https://github.com/assemble/assemble-swig) for compiling [Swig Templates](https://github.com/paularmstrong). - -### flatten -Type: `Boolean` -Default: `false` - -Remove anything after (and including) the first `.` in the destination path, then append this value. In other words, when files are generated from different source folders this "flattens" them into the same destination directory. See [building the files object dynamically](http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically) for more information on `files` formats. - -Visit [Assemble's documentation](http://assemble.io) for more information about options. - - -### Usage Examples -Simple example of using data files in both `.json` and `.yml` format to build Handlebars templates. - -```javascript -assemble: { - options: { - data: 'src/data/**/*.{json,yml}' - }, - docs: { - files: { - 'dist/': ['src/templates/**/*.hbs'] - } - } -} -``` - -#### Using multiple targets - -```js -assemble: { - options: { - assets: 'assets', - layoutdir: 'docs/layouts' - partials: ['docs/includes/**/*.hbs'], - data: ['docs/data/**/*.{json,yml}'] - }, - site: { - options: { - layout: 'default.hbs' - }, - src: ['templates/site/*.hbs'], - dest: './' - }, - blog: { - options: { - layout: 'blog-layout.hbs' - }, - src: ['templates/blog/*.hbs'], - dest: 'articles/' - }, - docs: { - options: { - layout: 'docs-layout.hbs' - }, - src: ['templates/docs/*.hbs'], - dest: 'docs/' - } -}, -``` - -Visit [Assemble's documentation](http://assemble.io) for many more examples and pointers on getting started. - -## Contributing -In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality, and please re-build the documentation with [grunt-verb](https://github.com/assemble/grunt-verb) before submitting a pull request. - - -## Assemble plugins -Here are some related projects you might be interested in from the [Assemble](http://assemble.io) core team. - -+ [assemble-middleware-anchors](https://github.com/assemble/assemble-middleware-anchors): Assemble middleware for creating anchor tags from generated html. -+ [assemble-middleware-contextual](https://github.com/assemble/assemble-middleware-contextual): Assemble middleware for generating a JSON file containing the context of each page. Basic middleware to help see what's happening in the build. -+ [assemble-middleware-decompress](https://github.com/assemble/assemble-middleware-decompress): Assemble plugin for extracting zip, tar and tar.gz archives. -+ [assemble-middleware-download](https://github.com/assemble/assemble-middleware-download): Assemble middleware for downloading files from GitHub. -+ [assemble-middleware-drafts](https://github.com/assemble/assemble-middleware-drafts): Assemble middleware (v0.5.0) for preventing drafts from being rendered. -+ [assemble-middleware-i18n](https://github.com/assemble/assemble-middleware-i18n): Assemble middleware for adding i18n support to projects. -+ [assemble-middleware-lunr](https://github.com/assemble/assemble-middleware-lunr): Assemble middleware for creating a search engine within your static site using lunr.js. -+ [assemble-middleware-permalinks](https://github.com/assemble/assemble-middleware-permalinks): Permalinks middleware for Assemble, the static site generator for Grunt.js and Yeoman. This plugin enables powerful and configurable URI replacement patterns, presets, uses Moment.js for parsing dates, and much more. -+ [assemble-middleware-rss](https://github.com/assemble/assemble-middleware-rss): Assemble middleware for creating RSS feeds with Assemble. (NOT published yet!) -+ [assemble-middleware-sitemap](https://github.com/assemble/assemble-middleware-sitemap): Assemble middleware for generating sitemaps. -+ [assemble-middleware-toc](https://github.com/assemble/assemble-middleware-toc): Assemble middleware for creating a table of contents in the generated HTML, using Cheerio.js -+ [assemble-middleware-wordcount](https://github.com/assemble/assemble-middleware-wordcount): Assemble middleware for displaying a word-count, and estimated reading time on blog posts or pages. - -Visit [assemble.io/assemble-middleware](http:/assemble.io/assemble-middleware/) for more information about [Assemble](http:/assemble.io/) middleware. - - -## Authors - -**Jon Schlinkert** - -+ [github/jonschlinkert](https://github.com/jonschlinkert) -+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) - -**Brian Woodward** - -+ [github/doowb](https://github.com/doowb) -+ [twitter/doowb](http://twitter.com/doowb) - - -## Release History -**DATE** **VERSION** **CHANGES** -* 2014-07-07 v0.4.41 Updating resolve-dep dependency. -* 2014-06-13 v0.4.38 Use gray-matter instead of assemble-yaml.,Updates dependencies. Minor - refactoring and new utils to get rid of a couple of dependencies.,Update - the loaders for plugins and helpers to use resolve-dep. Should be more - reliable now. -* 2013-10-25 v0.4.17 Adds a params object to the call to `helper.register` allowing grunt and - assemble to be passed in and used from inside helpers. -* 2013-10-24 v0.4.16 Adds support for using wildcards with plugins stages. -* 2013-10-24 v0.4.15 Implements multiple plugin stages. -* 2013-10-21 v0.4.14 Adds support for plugins running once, before and after (thanks - @adjohnson916).,Adds pagination!,Thanks to @xzyfer, `options.data` can now - also directly accept an object of data. -* 2013-10-12 v0.4.13 Adds `originalAssets` property to root context to store the pre-calculated - assets path -* 2013-10-05 v0.4.12 Fixes plugins resolving for devDependencies. -* 2013-10-03 v0.4.11 Adds filePair to page object. thanks @adjohnson916! -* 2013-10-02 v0.4.10 Adds plugin support to Assemble using the `plugins` option. thanks - @adjohnson916! -* 2013-10-02 v0.4.9 Adds `layoutext` and `postprocess` options. -* 2013-09-30 v0.4.8 Assemble now builds 30-50% faster due to some refactoring to async and how - context is calculated. -* 2013-09-20 v0.4.7 Adds grunt-readme to make it easier to keep the readme updated using - templates.,Keep options.partials intact so they can be used in helpers. -* 2013-09-15 v0.4.6 Updating how the assets path is calculated.,Adding resolve-dep and ability - to load helpers from node modules using minimatch patterns -* 2013-09-03 v0.4.5 Bug fix: allow page content containing $.,Add alias metadata for data on - pages configuration object. -* 2013-08-01 v0.4.4 Adds "nested layouts",Adds option for pages in JSON/YAML collections to be - defined as either objects or keys in an array. -* 2013-08-01 v0.4.3 Adds "options.pages" for passing in an array of pages in JSON or YAML - format. -* 2013-06-20 v0.4.0 Adds "layoutdir" option for defining the directory to be used for layouts. - If layoutdir is defined, then layouts may be defined using only the name of - the layout. -* 2013-06-10 v0.3.81 Adds additional ways to load custom helpers. Now it's possible to use a - glob pattern that points to a list of scripts with helpers to load.,Adds - examples and tests on how to use the new custom helper loading methods. -* 2013-06-01 v0.3.80 Fixing bug with null value in engine -* 2013-05-07 v0.3.77 Updated README with info about assemble methods -* 2013-04-28 v0.3.74 Updating the assemble library to use the assemble-utils repo and - unnecessary code. -* 2013-04-21 v0.3.73 Fixing how the relative path helper worked and showing an example in the - footer of the layout. This example is hidden, but can be seen by doing view - source. -* 2013-04-20 v0.3.72 Fixing the layout override issue happening in the page yaml headers. - Something was missed during refactoring. -* 2013-04-19 v0.3.9 Adds tags and categories to the root context and ensure that the current - page context values don't override the root context values. -* 2013-04-18 v0.3.8 Updating to use actual assets property from current page. -* 2013-04-17 v0.3.7 Cleaning up some unused folders and tests -* 2013-04-16 v0.3.6 Fixed missing assets property. -* 2013-04-16 v0.3.5 Adds a sections array to the template engine so it can be used in helpers. -* 2013-04-11 v0.3.4 More tests for helpers and global variables, organized tests. A number of - bug fixes. -* 2013-04-06 v0.3.3 helper-lib properly externalized and wired up. Global variables for - filename, ext and pages -* 2013-03-22 v0.3.22 Merged global and target level options so data and partial files can be - joined -* 2013-03-22 v0.3.21 Valid YAML now allowed in options.data object (along with JSON) -* 2013-03-18 v0.3.14 new relative helper for resolving relative paths - -## License -Copyright (c) 2015 Jon Schlinkert, Brian Woodward, contributors. -Released under the MIT license - -*** - -_This file was generated by [grunt-verb](https://github.com/assemble/grunt-verb) on March 16, 2015._ \ No newline at end of file diff --git a/_Gruntfile.js b/_Gruntfile.js new file mode 100644 index 0000000..ae64f7e --- /dev/null +++ b/_Gruntfile.js @@ -0,0 +1,339 @@ +/** + * Assemble + * + * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. + * Licensed under the MIT License (MIT). + */ + +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + + // Metadata for tests + pkg: grunt.file.readJSON('package.json'), + config: grunt.file.readJSON('test/fixtures/data/config.json'), + site: grunt.file.readYAML('test/fixtures/data/_site.yml'), + + /** + * Assemble examples/tests + */ + assemble: { + options: { + assets: 'test/assets', + helpers: ['test/helpers/*.js'], + layoutdir: 'test/fixtures/layouts', + layout: 'default.hbs', + flatten: true + }, + // Should render pages with `layout: false` or `layout: none` defined + no_layout: { + files: { + 'test/actual/no_layout/': ['test/fixtures/pages/nolayout/*.hbs'] + } + }, + // Should allow Layouts defined in YFM to be defined without an extension. + layout_ext: { + options: { + layout: 'none', // override default, layout is redefined in YFM + layoutext: '.hbs' + }, + files: { + 'test/actual/layout_ext/': ['test/fixtures/pages/layoutext/layoutext.hbs'] + } + }, + // Should flatten nested layouts + nested_layouts: { + options: { + partials: 'test/fixtures/partials/*.hbs', + data: 'test/fixtures/data/*.{json,yml}', + layout: 'one.hbs' + }, + files: { + 'test/actual/nested_layouts/': ['test/fixtures/pages/nested/*.hbs'] + } + }, + // Should register locally-defined custom helpers + custom_helpers: { + options: { + helpers: ['test/helpers/*.js'], + name: '<%= pkg.name %>' + }, + files: { + 'test/actual/custom_helpers/': ['test/fixtures/helpers/{foo,bar,opt}.hbs'] + } + }, + // Should register and use custom plugins, without a stage defined + plugin_untitled: { + options: { + plugins: ['./test/plugins/untitled.js'] + }, + files: { + 'test/actual/plugin_untitled.html': 'test/fixtures/plugins/untitled.hbs' + } + }, + // Should use custom plugins with 'render:pre:pages' stage defined + plugin_before: { + options: { + plugins: ['./test/plugins/plugin_before.js'] + }, + files: { + 'test/actual/plugin_before.html': 'test/fixtures/plugins/before.hbs' + } + }, + // Should use custom plugins with 'render:post:pages' stage defined + plugin_after: { + options: { + plugins: ['./test/plugins/plugin_after.js'] + }, + files: { + 'test/actual/plugin_after.html': 'test/fixtures/plugins/after.hbs' + } + }, + // Should use custom plugins with 'render:pre:page' stage defined + plugin_pre_page: { + options: { + plugins: ['./test/plugins/plugin_pre_page.js'] + }, + files: { + 'test/actual/plugin_pre_page.html': 'test/fixtures/plugins/after.hbs' + } + }, + // Should do nothing for a non-existant plugin + plugin_none: { + options: { + plugins: ['./test/plugins/not_real.js'] + }, + files: { + 'test/actual/not_real.html': 'test/fixtures/plugins/after.hbs' + } + }, + // should add isCurrentPage and relativeLink to each page + // in the pages collection + plugin_preprocess_page_collection: { + options: { + partials: ['test/fixtures/partials/*.hbs'], + data: 'test/fixtures/data/*.{json,yml}', + layout: 'preprocess.hbs', + pageCollection: { + preprocess: require('./test/plugins/page_collection_preprocessing.js') + } + }, + files: { + 'test/actual/plugin_preprocess/': ['test/fixtures/pages/*.hbs'] + } + }, + // Path construction based on built-in variables + // Should automatically calculate relative paths correctly + paths: { + options: { + partials: 'test/fixtures/partials/*.hbs', + data: 'test/fixtures/data/*.{json,yml}' + }, + files: { + 'test/actual/paths/': ['test/fixtures/pages/*.hbs'] + } + }, + // Should build a single page, with explicit dest page name defined + single_page: { + files: { + 'test/actual/single_page.html': ['test/fixtures/pages/example.hbs'] + } + }, + // Should process and add complex YAML front matter to context + yfm: { + options: { + data: 'test/fixtures/data/*.{json,yml}' + }, + files: { + 'test/actual/yfm/': ['test/fixtures/pages/yfm/*.hbs'] + } + }, + // Should process pages no YAML front matter defined + noyfm: { + options: { + data: 'test/fixtures/data/*.{json,yml}' + }, + files: { + 'test/actual/noyfm/': ['test/fixtures/pages/no-yfm.hbs'] + } + }, + // Should properly calculate relative paths from nested pages + // to `assets` directory + assets_base: { + options: {assets: 'test/assets', assets_base: true}, + files: { + 'test/actual/assets_base.html': ['test/fixtures/assets_path/assets.hbs'] + } + }, + // Should properly calculate relative paths from pages to `assets` directory + assets_nested: { + options: {assets: 'test/assets/nested', assets_nested: true}, + files: { + 'test/actual/assets_nested.html': ['test/fixtures/assets_path/assets.hbs'] + } + }, + // Should properly calculate path to `assets` directory when defined + // with a trailing slash + assets_trailing_slash: { + options: {assets: 'test/assets/', assets_trailing_slash: true}, + files: { + 'test/actual/assets_trailing_slash.html': ['test/fixtures/assets_path/assets.hbs'] + } + }, + // Should properly calculate path to `assets` directory when the path + // begins with `./` + assets_dot_slash: { + options: {assets: './test/assets', assets_dot_slash: true}, + files: { + 'test/actual/assets_dot_slash.html': ['test/fixtures/assets_path/assets.hbs'] + } + }, + // Should properly calculate path to `assets` directory when the + // assets path is blank + assets_blank_path: { + options: {assets: '', assets_blank_path: true}, + files: { + 'test/actual/assets_blank_path.html': ['test/fixtures/assets_path/assets.hbs'] + } + }, + // Should add collections to context, sorted in descending order. + collections_desc: { + options: { + collections: [ + {name: 'pages', inflection: 'page', sortorder: 'DESC'}, + {name: 'tags', inflection: 'tag', sortorder: 'DESC'}, + {name: 'categories', inflection: 'category', sortorder: 'DESC'} + ] + }, + files: { + 'test/actual/collections/desc/': ['test/fixtures/pages/*.hbs'] + } + }, + // Should add collections to context, sorted in ascending order. + collections_asc: { + options: { + collections: [ + {name: 'pages', inflection: 'page', sortorder: 'ASC'}, + {name: 'tags', inflection: 'tag', sortorder: 'ASC'}, + {name: 'categories', inflection: 'category', sortorder: 'ASC'} + ] + }, + files: { + 'test/actual/collections/asc/': ['test/fixtures/pages/*.hbs'] + } + }, + // Should + collections_custom: { + options: { + collections: [ + {name: 'items', inflection: 'item', sortorder: 'DESC'} + ] + }, + files: { + 'test/actual/collections/custom/': ['test/fixtures/pages/*.hbs'] + } + }, + // Should add complex collections and related pages to context + collections_complex: { + options: { + data: ['test/fixtures/data/collections/*.json'] + }, + files: { + 'test/actual/collections/complex/': ['test/fixtures/pages/*.hbs'] + } + }, + // Pages collections + pages_array: { + options: { + layout: 'post.hbs', + site: { + title: 'A Blog', + author: 'Jon Schlinkert' + }, + pages: '<%= config.pages.one %>' + }, + files: { + 'test/actual/pages_array/': ['test/fixtures/pages/blog/index.hbs'] + } + }, + pages_object: { + options: { + layout: 'post.hbs', + site: { + title: 'Another Blog', + author: 'Brian Woodward' + }, + pages: '<%= config.pages.two %>' + }, + files: { + 'test/actual/pages_object/': ['test/fixtures/pages/blog/index.hbs'] + } + }, + pages_metadata: { + options: { + layout: 'post.hbs', + site: { + title: 'Another Blog with Meta', + author: 'Brian Woodward' + }, + pages: '<%= config.pages.three %>' + }, + files: { + 'test/actual/pages_metadata/': ['test/fixtures/pages/blog/index.hbs'] + } + }, + // Using glob pattern for layouts + glob_layout: { + options: { + layouts: 'test/fixtures/layouts/**/*.hbs', + layoutdir: undefined + }, + files: { + 'test/actual/globlayout/simple': ['test/fixtures/pages/globlayout/globlayout.hbs'] + } + }, + // Using glob pattern for layouts + glob_layout_multi: { + options: { + layouts: ['test/fixtures/layouts/*.hbs', 'test/fixtures/layouts/globlayout/**/*.hbs'] + }, + files: { + 'test/actual/globlayout/multi': ['test/fixtures/pages/globlayout/globlayout.hbs'] + } + } + }, + + // Example config data for "pages_array" and "pages_object" targets + component: { + one: 'alert' + }, + + /** + * Before generating any new files, + * remove files from the previous build + */ + clean: { + tests: ['test/actual/**/*'] + }, + + // lint build, test and code files + eslint: { + src: ['*.js', '{lib,tasks,test}/**/*.js'] + } + }); + + // Load NPM plugins to provide the necessary tasks. + grunt.loadNpmTasks('grunt-contrib-clean'); + grunt.loadNpmTasks('gruntify-eslint'); + + // Load this plugin. + grunt.loadTasks('tasks'); + + // Task aliases + grunt.registerTask('lint', ['eslint']); + grunt.registerTask('test', ['clean', 'assemble']); + + // Default task. + grunt.registerTask('default', ['lint', 'test']); +}; diff --git a/_Gruntfile2.js b/_Gruntfile2.js new file mode 100644 index 0000000..2383835 --- /dev/null +++ b/_Gruntfile2.js @@ -0,0 +1,41 @@ +/** + * Assemble + * + * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. + * Licensed under the MIT License (MIT). + */ + +module.exports = function(grunt) { + var targets = require('./test/targets')(grunt); + // console.log(targets); + + // Project configuration. + grunt.initConfig({ + + assemble: targets, + + // assemble: { + // options: { + // data: {title: 'Site title!'}, + // assets: 'test/assets', + // helpers: ['test/helpers/*.js'], + // layoutdir: 'test/fixtures/layouts', + // layout: 'default', + // flatten: true + // }, + + // clean up files generated by tests + clean: { + tests: ['test/actual/**/*'] + } + }); + + // Load NPM plugins to provide the necessary tasks. + grunt.loadNpmTasks('grunt-contrib-clean'); + + // Load this plugin. + grunt.loadTasks('tasks'); + + // Default task. + grunt.registerTask('default', ['assemble']); +}; diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..59031e1 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,27 @@ +# Test against this version of Node.js +environment: + matrix: + # node.js + - nodejs_version: "6.0" + - nodejs_version: "5.0" + - nodejs_version: "4.0" + - nodejs_version: "0.12" + - nodejs_version: "0.10" + +# Install scripts. (runs after repo cloning) +install: + # Get the latest stable version of Node.js or io.js + - ps: Install-Product node $env:nodejs_version + # install modules + - npm install + +# Post-install test scripts. +test_script: + # Output useful info for debugging. + - node --version + - npm --version + # run tests + - npm test + +# Don't actually build. +build: off diff --git a/bower.json b/bower.json index 22eb435..2bdd0a0 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,132 @@ { "name": "grunt-assemble", - "version": "0.2.0", + "version": "0.4.0", "main": [ "./lib/assemble" + ], + "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.", + "homepage": "http://assemble.io", + "contributors": [ + "Ain Tohvri (http://tekkie.flashbit.net)", + "Alex Sanz (https://github.com/asans)", + "Anders D. Johnson (https://andrz.me)", + "Ben Drucker (http://www.bendrucker.me)", + "Brian Woodward (https://twitter.com/doowb)", + "Carl A. Bauer (http://carlbauer.org)", + "Casey Garland (https://github.com/caseyg1204)", + "Dane Petersen (https://thegreatsunra.com)", + "Daniel Rauber (https://danielrauber.de)", + "Gion Kunz (https://github.com/gionkunz)", + "Jon Schlinkert (http://twitter.com/jonschlinkert)", + "Jordan Thomas (http://jordanthomas.me)", + "Justin Heideman (https://fiddlyio.com)", + "Laurent Goderre (https://github.com/LaurentGoderre)", + "Michael Mifsud (https://github.com/xzyfer)", + "Mikko Tapionlinna (http://mikko.tapionlinna.fi)", + "Munim Abdul (http://www.munim.net)", + "Patrick Burtchaell (https://pburtchaell.com)", + "Sam Morrison (http://cnstechgroup.com)", + "Steven Black (http://stevenblack.com)", + "Thomas Parisot (https://oncletom.io)", + "Thomas Traub (http://thomastraub.com)", + "Tyler Howarth (twitter.com/tylr)" + ], + "repository": "assemble/grunt-assemble", + "bugs": { + "url": "https://github.com/assemble/grunt-assemble/issues" + }, + "license": "MIT", + "files": [ + "lib", + "tasks" + ], + "dependencies": { + "arr-flatten": "^1.0.1", + "array-unique": "^0.3.2", + "assemble": "^0.23.0", + "assemble-core": "^0.31.0", + "assemble-loader": "^1.0.5", + "async-each-series": "^1.1.0", + "base-questions": "^0.9.1", + "debug": "^2.6.1", + "engine-handlebars": "^0.8.2", + "export-files": "^2.1.1", + "extend-shallow": "^2.0.1", + "get-value": "^2.0.6", + "inquirer2": "^0.1.1", + "isobject": "^3.0.0", + "map-config": "^0.5.0", + "mixin-deep": "^1.1.3", + "namespace-context": "^0.2.0", + "parser-front-matter": "^1.6.2", + "spawn-commands": "^0.3.1" + }, + "devDependencies": { + "delete": "^0.3.2", + "fs-exists-sync": "^0.1.0", + "grunt": "^1.0.1", + "grunt-contrib-clean": "^1.0.0", + "gruntify-eslint": "^3.1.0", + "gulp-format-md": "^0.1.11", + "mocha": "^3.2.0" + }, + "keywords": [ + "alternative", + "assemble", + "blog", + "boilerplate", + "boilerplates", + "bootstrap", + "build", + "builder", + "components", + "deployment", + "front", + "generator", + "generators", + "grunt", + "gruntplugin", + "handlebars", + "handlebars-helper-eachitems", + "helpers", + "HTML", + "javascript", + "jekyll", + "matter", + "node", + "node.js", + "pages", + "partial", + "partials", + "scaffold", + "scaffolds", + "site", + "static", + "task", + "templates", + "templating", + "website", + "yaml", + "yeoman" + ], + "lintDeps": { + "files": { + "dependencies": [ + "tasks/**" + ] + } + }, + "authors": [ + "Assemble (https://github.com/assemble/assemble)" + ], + "ignore": [ + "actual", + "bower_components", + "fixtures", + "node_modules", + "temp", + "test", + "test.js", + "tmp" ] } \ No newline at end of file diff --git a/lib/assemble.js b/lib/assemble.js deleted file mode 100644 index a87887e..0000000 --- a/lib/assemble.js +++ /dev/null @@ -1,126 +0,0 @@ -'use strict'; -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ - -var path = require('path'); -var _ = require('lodash'); - - -/** - * Assemble - */ - -var Assemble = function() { - - var engineUtils = require('./engine'); - var collection = require('./collection'); - var plugins = require('./plugins'); - var utils = require('./utils'); - - var steps = []; - - var init = function(task, grunt){ - - this.grunt = grunt; - this.task = task; - this.options = task.options({ - layoutdir: '', - layout: '', - layoutext: '', - partials: [], - data: [], - assets: '', - ext: '.html' - }); - - this.options.originalAssets = this.options.assets; - this.options.originalLayout = this.options.layout; - - this.options.data = mergeOptionsArrays.apply(this, [task.target, 'data']); - this.options.partials = mergeOptionsArrays.apply(this, [task.target, 'partials']); - this.options.collections = mergeOptionsArrays.apply(this, [task.target, 'collections']); - - // add default collections - this.options.collections = _.union(['tags', 'categories', { name: 'pages' }], this.options.collections); - this.options.collections = collection.normalize(this.options.collections); - - - // if there is a pages property and it's an array, turn it into an object - if(this.options.pages && Array.isArray(this.options.pages)) { - var pages = {}; - _.forEach(this.options.pages, function(page) { - if(page.filename && page.filename.length > 0) { - pages[page.filename] = page; - } - }); - this.options.pages = _.cloneDeep(pages); - } - - // add default plugins - var corePlugins = path.relative(process.cwd(), path.join(__dirname, 'plugins/*.js')); - this.options.plugins = _.union(utils.arrayify(this.options.plugins || []), [corePlugins]); - - // save original plugins option - this.options._plugins = this.options.plugins; - this.options.plugins = plugins.resolve(this.options.plugins, this.options); - - this.files = task.files; - steps = []; - - return this; - }; - - var step = function(fn) { - steps.push(fn); - return this; - }; - - var build = function(callback) { - this.grunt.verbose.writeln('Assembling'); - var self = this; - this.grunt.verbose.writeln('Steps: ' + steps.length); - if(steps.length === 0) { - if(callback) { - callback(null, true); - } - return true; - } - - var step = 0, totalSteps = steps.length; - steps[step++](self, function next(assemble) { - assemble.grunt.verbose.writeln('\nStep ' + step + ' assembled.'); - if(step < totalSteps) { - assemble.grunt.verbose.writeln('Calling step ' + (step + 1)); - steps[step++](self, next); - } else { - assemble.grunt.verbose.writeln('Build completed. Returning'); - if(callback) { - callback(null, true); - } - return true; - } - }); - }; - - var mergeOptionsArrays = function(target, name) { - var globalArray = this.grunt.config(['assemble', 'options', name]) || []; - var targetArray = this.grunt.config(['assemble', target, 'options', name]) || []; - return _.flatten(utils.arrayify(globalArray).concat(utils.arrayify(targetArray))); - }; - - return { - init: init, - step: step, - build: build, - plugins: plugins, - engine: engineUtils, - util: collection - }; - -}; - -module.exports = exports = new Assemble(); diff --git a/lib/collection.js b/lib/collection.js deleted file mode 100644 index 15a0485..0000000 --- a/lib/collection.js +++ /dev/null @@ -1,181 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ - -var _ = require('lodash'); -var inflection = require('inflection'); -var utils = require('./utils'); - -/** - * Export `collection` - */ - -var collection = module.exports = {}; - - -collection.update = function(col, page, context) { - 'use strict'; - - if(!context[col.name]) { - return col; - } - - var singularName = col.inflection || inflection.singularize(col.name); - var pageCol = context[col.name] || []; - if(utils.toString.call(pageCol) !== '[object Array]') { - pageCol = [pageCol]; - } - - pageCol.forEach(function(pageItem) { - var i = _.findIndex(col.items, function(item) { - return item[singularName] === pageItem; - }); - - if(i === -1) { - var obj = {}; - obj[singularName] = pageItem; - obj.pages = [page]; - col.items.push(obj); - } else { - col.items[i].pages.push(page); - } - }); - return col; -}; - - -collection.sort = function(col) { - 'use strict'; - - var descMap = ['desc', 'descending']; - var itemMap = ['this', '']; - - var sortby = _.contains(itemMap, (col.sortby || '')) ? '' : col.sortby; - var sortorder = _.contains(descMap, (col.sortorder || 'ASC').toLowerCase()) ? 'DESC' : 'ASC'; - - if(sortby === '') { - - // sort items by the actual item - col.items.sort(function(a, b) { - if(a[col.inflection] && b[col.inflection]) { - if(a[col.inflection] < b[col.inflection]) { - return -1; - } else if (a[col.inflection] > b[col.inflection]) { - return 1; - } else { - return 0; - } - } - }); - - if(sortorder !== 'ASC') { - col.items.reverse(); - } - - } else { - - // for each item sort the pages by the page.data property - col.items.forEach(function(item) { - - item.pages.sort(function(a, b) { - if(a.data[sortby] && b.data[sortby]) { - if(a.data[sortby] < b.data[sortby]) { - return -1; - } else if (a.data[sortby] > b.data[sortby]) { - return 1; - } else { - return 0; - } - } else { - return 0; - } - }); - - if(sortorder !== 'ASC') { - item.pages.reverse(); - } - - }); - - // now sort the items by the first page in each item - col.items.sort(function(a, b) { - if(a.pages.length > 0 && b.pages.length > 0) { - if(a.pages[0].data[sortby] && b.pages[0].data[sortby]) { - if(a.pages[0].data[sortby] < b.pages[0].data[sortby]) { - return -1; - } else if(a.pages[0].data[sortby] > b.pages[0].data[sortby]) { - return 1; - } else { - return 0; - } - } - } else { - return 0; - } - }); - - if(sortorder !== 'ASC') { - col.items.reverse(); - } - - } - - return col; - -}; - - -/** - * Takes in a list of collection definitions and normalizes - * them to a be all objects with smart defaults - * @param {Array} collections: List of collections as either strings or objects - * @return {Array} Return list of collections, all as objects - */ -collection.normalize = function(collections) { - 'use strict'; - - var rtn = {}; - collections.forEach(function(item) { - - if(typeof item === 'string') { - if(rtn[item]) { - item = rtn[item]; - } else { - item = { - name: item, - inflection: inflection.singularize(item), - sortorder: 'ASC', - sortby: '', - items: [] - }; - } - } else { - item.items = []; - } - - if(item.name === 'pages') { - item.inflection = '_page'; - item.sortby = (item.sortby || '') === '' ? 'name' : item.sortby; - item.items = [{ - '_page': 'all', - pages: [] - }]; - } - - rtn[item.name] = item; - - }); - return rtn; -}; - -collection.filterProperties = function(opts) { - return _.omit(opts, [ - 'defaultLayout', - 'initializeEngine', - 'registerFunctions', - 'registerPartial' - ]); -}; diff --git a/lib/collections.js b/lib/collections.js new file mode 100644 index 0000000..b7e13a1 --- /dev/null +++ b/lib/collections.js @@ -0,0 +1,10 @@ +'use strict'; + +module.exports = function(options) { + return function(app) { + if (!this.isApp) return; + app.create('partials', {viewType: 'partial'}); + app.create('layouts', {viewType: 'layout'}); + app.create('pages'); + }; +}; diff --git a/lib/config/assets.js b/lib/config/assets.js new file mode 100644 index 0000000..6dfb93c --- /dev/null +++ b/lib/config/assets.js @@ -0,0 +1,10 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); + +module.exports = function(app) { + return function(val, key, config, next) { + debug('assets:', val); + next(); + }; +}; diff --git a/lib/config/data.js b/lib/config/data.js new file mode 100644 index 0000000..8c3f3f8 --- /dev/null +++ b/lib/config/data.js @@ -0,0 +1,16 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); +var utils = require('../utils'); + +module.exports = function(app) { + return function(val, key, config, next) { + debug('data:', val); + + if (utils.isObject(val)) { + app.data(val); + } + + next(); + }; +}; diff --git a/lib/config/engine.js b/lib/config/engine.js new file mode 100644 index 0000000..9b2a526 --- /dev/null +++ b/lib/config/engine.js @@ -0,0 +1,82 @@ +'use strict'; + +var debug = require('debug')('grunt-assemble'); +var install = require('../install'); +var utils = require('../utils'); + +var knownEngines = { + 'hbs': 'engine-handlebars', + 'tmpl': 'engine-base', + '*': 'engine-base' +}; + +module.exports = function(app) { + return function(val, key, config, next) { + if (!val) { + app.engine('hbs', require('engine-handlebars')); + app.option('engine', 'hbs'); + next(); + return; + } + + debug('engine:', val); + var ext = utils.formatExt(val); + var engine = knownEngines[ext]; + app.option('engine', ext); + + if (typeof engine === 'undefined') { + console.log('Engine "%s" is not a known engine', engine); + console.log('You will need to register it first'); + next(); + return; + } + + tryRequire(engine, function(err, fn) { + if (err) { + next(err); + return; + } + + if (fn) { + app.engine(ext, fn); + next(); + return; + } + + var msg = '"' + engine + '" must be installed. Want to do that before continuing?'; + install(app, msg, {modules: [engine]}, function(err) { + if (err) { + next(err); + return; + } + + tryRequire(engine, function(err, fn) { + if (err) { + next(err); + return; + } + + if (fn) { + app.engine(ext, fn); + next(); + return; + } + + next(); + }); + }); + }); + }; +}; + +function tryRequire(name, cb) { + try { + cb(null, require(name)); + } catch (err) { + if (err.code !== 'MODULE_NOT_FOUND') { + cb(err); + return; + } + } + cb(); +} diff --git a/lib/config/flatten.js b/lib/config/flatten.js new file mode 100644 index 0000000..b2148d2 --- /dev/null +++ b/lib/config/flatten.js @@ -0,0 +1,11 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); + +module.exports = function(app) { + return function(val, key, config, next) { + debug('layout:', val); + + next(); + }; +}; diff --git a/lib/config/helpers.js b/lib/config/helpers.js new file mode 100644 index 0000000..f5982ed --- /dev/null +++ b/lib/config/helpers.js @@ -0,0 +1,11 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); + +module.exports = function(app) { + return function(val, key, config, next) { + debug('helpers:', val); + + next(); + }; +}; diff --git a/lib/config/index.js b/lib/config/index.js new file mode 100644 index 0000000..23b2930 --- /dev/null +++ b/lib/config/index.js @@ -0,0 +1 @@ +module.exports = require('export-files')(__dirname); diff --git a/lib/config/layout.js b/lib/config/layout.js new file mode 100644 index 0000000..c831e70 --- /dev/null +++ b/lib/config/layout.js @@ -0,0 +1,11 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); + +module.exports = function(app) { + return function(val, key, config, next) { + debug('layout:', val); + app.option('layout', val); + next(); + }; +}; diff --git a/lib/config/layoutdir.js b/lib/config/layoutdir.js new file mode 100644 index 0000000..0ded5f3 --- /dev/null +++ b/lib/config/layoutdir.js @@ -0,0 +1,11 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); + +module.exports = function(app) { + return function(val, key, config, next) { + debug('layoutDir:', val); + + next(); + }; +}; diff --git a/lib/config/layouts.js b/lib/config/layouts.js new file mode 100644 index 0000000..e857017 --- /dev/null +++ b/lib/config/layouts.js @@ -0,0 +1,16 @@ +'use strict'; + +var debug = require('debug')('assemble:grunt-assemble'); + +module.exports = function(app) { + return function(patterns, key, config, next) { + debug('layouts:', patterns); + + if (!app.layouts) { + app.create('layouts', {viewType: 'layout'}); + } + + app.layouts(patterns); + next(); + }; +}; diff --git a/lib/defaults.js b/lib/defaults.js new file mode 100644 index 0000000..19cd7a4 --- /dev/null +++ b/lib/defaults.js @@ -0,0 +1,85 @@ +'use strict'; + +var path = require('path'); +var utils = require('./utils'); + +module.exports = function(app) { + var exts = app.options.exts || ['md', 'hbs', 'html']; + + /** + * Default engine + */ + + app.engine(exts, require('engine-handlebars')); + + /** + * Middleware for parsing front matter + */ + + app.onLoad(utils.extRegex(exts), function(view, next) { + // check options inside the middleware to account for options defined after init + if (view.options.frontMatter === false) { + next(); + return; + } + if (app.options.frontMatter === false) { + next(); + return; + } + utils.matter.parse(view, next); + }); + + /** + * Load default plugins. Built-in plugins can be disabled + * on the `assemble` options. + * + * ```js + * var app = assemble({ + * plugins: { + * loader: false, + * store: false + * } + * }); + * ``` + */ + + // enable('logger', plugins.logger); + // enable('loader', plugins.loader); + // enable('config', plugins.config); + // enable('argv', plugins.argv); + // enable('cli', plugins.cli); + + // function enable(name, fn) { + // if (app.option('plugins') === false) return; + // if (app.option('plugins.' + name) !== false) { + // app.use(fn()); + // } + // } + + /** + * Built-in view collections + * | partials + * | layouts + * | pages + */ + + app.create('partials', { + engine: app.options.engine || 'hbs', + viewType: 'partial', + renameKey: function(fp) { + return path.basename(fp, path.extname(fp)); + } + }); + + app.create('layouts', { + engine: app.options.engine || 'hbs', + viewType: 'layout', + renameKey: function(fp) { + return path.basename(fp, path.extname(fp)); + } + }); + + app.create('pages', { + engine: app.options.engine || 'hbs' + }); +}; diff --git a/lib/engine.js b/lib/engine.js deleted file mode 100644 index 634cdf9..0000000 --- a/lib/engine.js +++ /dev/null @@ -1,105 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ -'use strict'; - - -var grunt = require('grunt'); -var helpers = require('./helpers'); - - -var EngineFactory = function() { - - var engineName = ''; - - - var tryRequireEngine = function(eng, obj) { - try { - obj.engine = require('assemble-' + eng); - } catch(e) { - try { - obj.engine = require(eng); - } catch(err) { - grunt.log.writeln('Error loading engine: ' + eng); - grunt.log.writeln(err); - grunt.log.writeln('Run `npm install assemble-' + eng + '` to use ' + eng); - } - } - }; - - var load = function(eng) { - engineName = eng; - tryRequireEngine(eng, this); - if(!this.engine) { - return false; - } - - // set some defaults - this.startDelimiter = this.engine.startDelimiter || '{{'; - this.endDelimiter = this.engine.endDelimiter || '}}'; - - var search = this.startDelimiter + "\\s*body\\s*" + this.endDelimiter; - this.bodyRegex = new RegExp(search, 'i'); - return this; - }; - - - var init = function(options, params) { - if(typeof this.engine.init === 'function') { - this.engine.init(options, params); - } - if(options && typeof options.helpers !== 'undefined') { - if(!Array.isArray(options.helpers)){ - options.helpers = [options.helpers]; - } - var engineInstance = this.engine[engineName] || this.engine; - options.helpers.forEach(function(patterns) { - helpers.register(patterns, this.engine, engineInstance, options, params); - }, this); - } - }; - - var compile = function(src, options, callback) { - if(typeof this.engine.compile !== 'function') { - grunt.log.writeln(engineName, 'does not support compile.'); - callback(engineName + ' does not support compile.', null); - } - this.engine.compile(src, options, callback); - }; - - var render = function(tmpl, options, callback) { - if(typeof this.engine.render !== 'function') { - grunt.log.writeln(engineName, 'does not support render.'); - callback(engineName + ' does not support render.', null); - } - this.engine.render(tmpl, options, callback); - }; - - // Helpers, filters etc. depending on template engine - var registerFunctions = function(helperFunctions) { - if(typeof this.engine.registerFunctions === 'function') { - this.engine.registerFunctions(helperFunctions); - } - }; - - var registerPartial = function(filename, content) { - if(typeof this.engine.registerPartial === 'function') { - this.engine.registerPartial(filename, content); - } - }; - - return { - load: load, - init: init, - compile: compile, - render: render, - registerFunctions: registerFunctions, - registerPartial: registerPartial - }; - -}; - -module.exports = exports = new EngineFactory(); diff --git a/lib/helpers.js b/lib/helpers.js deleted file mode 100644 index 5100830..0000000 --- a/lib/helpers.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ -'use strict'; - -var path = require('path'); -var resolve = require('resolve-dep'); -var grunt = require('grunt'); - -module.exports.register = function(patterns, currentEngine, engineInstance, options, params) { - resolve(patterns).forEach(function(filepath) { - var fn = null; - try { - fn = require(path.resolve(filepath)); - if(typeof fn !== 'undefined') { - if (typeof fn === 'object' && Object.keys(fn).length >= 1) { - if(typeof fn.register !== 'undefined') { - fn.register(engineInstance, options, params); - } else { - currentEngine.registerFunctions(fn, options, params); - } - } - } - } catch (err) { - grunt.log.writeln('Error loading helpers from file: ' + filepath); - grunt.log.writeln(err); - } - }); -}; diff --git a/lib/install.js b/lib/install.js new file mode 100644 index 0000000..7b8806b --- /dev/null +++ b/lib/install.js @@ -0,0 +1,30 @@ +'use strict'; + +var inquirer = require('inquirer2'); +var utils = require('./utils'); + +module.exports = function(app, message, options, cb) { + var opts = utils.extend({force: true}, options); + var modules = opts.modules || []; + + var questions = inquirer(); + var question = opts; + opts.message = opts.message || message; + opts.name = 'install'; + opts.type = 'confirm'; + + questions.prompt(question, function(answer) { + if (answer.install) { + install(modules, cb); + } else { + cb(); + } + }); +}; + +function install(names, cb) { + utils.commands({ + args: ['install', '-D', '--silent', names], + cmd: 'npm' + }, cb); +} diff --git a/lib/mapper.js b/lib/mapper.js new file mode 100644 index 0000000..9759271 --- /dev/null +++ b/lib/mapper.js @@ -0,0 +1,25 @@ +'use strict'; + +var debug = require('debug')('grunt-assemble:mapper'); +var extend = require('extend-shallow'); +var MapConfig = require('map-config'); +var config = require('./config'); + +module.exports = function(app, options) { + var opts = extend({omit: []}, options); + var mapper = new MapConfig(); + + for (var key in config) { + if (key === 'omit') continue; + + var hasKey = config.hasOwnProperty(key); + if (opts.omit.indexOf(key) === -1 && hasKey) { + debug('mapping option "%s"', key); + mapper.map(key, config[key](app)); + + } else if (!hasKey) { + console.log('no mapper for key:', key); + } + } + return mapper; +}; diff --git a/lib/middleware.js b/lib/middleware.js new file mode 100644 index 0000000..3a29394 --- /dev/null +++ b/lib/middleware.js @@ -0,0 +1,45 @@ +'use strict'; + +var matter = require('parser-front-matter'); +var utils = require('./utils'); + +module.exports = function(options) { + return function(app) { + if (!this.isApp) return; + var exts = app.options.engineExtensions || ['hbs', 'md', 'html']; + var engine = app.options.engine || []; + var extRe = app.options.extRegex || utils.extRegex(exts, engine); + + app.onLoad(extRe, function(view, next) { + // view.layout = view.layout || app.options.layout; + matter.parse(view, function(err) { + if (err) { + next(err); + return; + } + + copyPaths(view); + next(); + }); + }); + }; +}; + +function copyPaths(view) { + var keys = [ + 'cwd', + 'base', + 'path', + 'extname', + 'basename', + 'dirname', + 'relative', + 'stem', + 'filename' + ]; + + // trigger getters + keys.forEach(function(key) { + view.data[key] = view[key]; + }); +} diff --git a/lib/plugin.js b/lib/plugin.js new file mode 100644 index 0000000..c139a79 --- /dev/null +++ b/lib/plugin.js @@ -0,0 +1,23 @@ +'use strict'; + +var loader = require('assemble-loader'); +var questions = require('base-questions'); +var namespace = require('namespace-context'); +var lib = require('export-files')(__dirname); + +module.exports = function(options) { + return function(app) { + if (!this.isApp) return; + + // load config options onto `app.options` + this.option(options); + this.engine('hbs', require('engine-handlebars')); + this.option('engine', 'hbs'); + + this.use(questions()); + this.use(namespace('page')); + this.use(lib.collections()); + this.use(lib.middleware()); + this.use(loader()); + }; +}; diff --git a/lib/plugins.js b/lib/plugins.js deleted file mode 100644 index 25d90a9..0000000 --- a/lib/plugins.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ - -var resolve = require('resolve-dep'); -var grunt = require('grunt'); -var async = require('async'); -var _ = require('lodash'); - -// The module to be exported. -var plugins = module.exports = {}; - -plugins.resolve = function (_plugins, options) { - options = options || {}; - var resolved = resolve(_plugins).map(function(plugin) { - try { - return require(plugin); - } catch(e) { - return plugin; - } - }); - - // set plugin options - resolved.forEach(function (plugin) { - plugin.options = _.extend({}, { - stage: 'render:pre:page' - }, plugin.options); - }); - return resolved; -}; - - -/** - * ## .isStageMatch(a, b) - * - * Return true if segments match, or if `*` is defined. - * - * @method isStageMatch - * @param {Array} `a` - * @param {Array} `b` - * @return {Boolean} - */ - -var isStageMatch = function(a, b) { - return ((a[0] === b[0]) || (a[0] === '*')) && - ((a[1] === b[1]) || (a[1] === '*')) && - ((a[2] === b[2]) || (a[2] === '*')); -}; - - -plugins.runner = function (stage, params) { - params.stage = stage; - var assemble = params.assemble; - - var pluginsOfType = _.filter(assemble.options.plugins, function (plugin) { - var pluginParts = plugin.options.stage.split(':'); - var stageParts = stage.split(':'); - return isStageMatch(pluginParts, stageParts); - }); - - return function (done) { - async.forEachSeries(pluginsOfType, function (plugin, next) { - if(typeof plugin === 'function') { - plugin(params, next); - } else { - next(); - } - }, - function (err) { - if (err) {grunt.log.error(err); done(err);} - else {done();} - } - ); - }; -}; - -plugins.buildStep = function(stage, params) { - return function(assemble, next) { - plugins.runner(stage, params)(function() { - next(assemble); - }); - }; -}; - diff --git a/lib/plugins/page-collection-properties.js b/lib/plugins/page-collection-properties.js deleted file mode 100644 index 33150f3..0000000 --- a/lib/plugins/page-collection-properties.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ -'use strict'; - - -var path = require('path'); -var _ = require('lodash'); - - -var options = { - stage: 'render:pre:page' -}; - - -/** - * ## Page colleciton properties - * - * This plugin will run before each page is rendered and will loop - * over the pages collection, calling any registered callback function - * passing in the current page context (to be rendered) and the current - * page (from the pages collection) allowing additional relative page - * properties to be added. - */ - -var defaults = [ - // 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 - // page in the collection - function relativeLink(page, context) { - var relativePath = path.relative(path.dirname(context.page.dest), path.dirname(page.dest)); - relativePath = path.join(relativePath, path.basename(page.dest)); - page.relativeLink = relativePath.replace(/\\/g, '/'); - } -]; - - -var plugin = function(params, next) { - var options = params.assemble.options; - var pageCollectionOpts = options.pageCollection || {}; - var callbacks = pageCollectionOpts.preprocess || []; - - if (!_.isArray(callbacks)) { - callbacks = [callbacks]; - } - - callbacks = _.union(callbacks, defaults); - - _.map(params.context.pages, function(page) { - _.map(callbacks, function(callback) { - callback(page, params.context); - }); - }); - - next(); -}; - - -// export options -plugin.options = options; -module.exports = plugin; - diff --git a/lib/plugins/pagination.js b/lib/plugins/pagination.js deleted file mode 100644 index b8157a2..0000000 --- a/lib/plugins/pagination.js +++ /dev/null @@ -1,92 +0,0 @@ -/*! - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ -'use strict'; - - -var options = { - stage: 'render:pre:*' -}; - - -/** - * ## Pagination - * - * This plugin will run before the pages are rendered to - * generate a pagination object that can be used to find - * the previous and next pages - */ - -var plugin = function(params, next) { - - var buildPaginationInfo = function() { - var pages = params.assemble.options.pages; - - var i = 0; - var prevPage = null; - - for (var j = pages.length; i < j; i++) { - var page = pages[i]; - - // Index and actual page number - page.index = i; - page.number = i + 1; - - // First page - page.first = (i === 0); - - // Previous page - if (prevPage != null) { - page.prev = prevPage; - } - - // Middle pages - page.middle = i > 0 && i < (j - 1); - - // Next page - if (i < pages.length - 1) { - page.next = i + 1; - } - - // Last page - page.last = i === (j - 1); - prevPage = i; - } - }; - - - var addPaginationInfoToContext = function() { - var context = params.context; - var pages = context.pages; - var currentPage = context.page; - - params.context.pagination = { - first : pages[currentPage.first || 0], - prev : pages[currentPage.prev || 0], - middle : pages[currentPage.middle], - next : pages[currentPage.next || (pages.length - 1)], - last : pages[currentPage.last || (pages.length - 1)], - - index : pages[currentPage.index], - number : currentPage.index + 1, - currentPage: currentPage.index + 1, - totalPages : pages.length - }; - }; - - - if (params.stage === 'render:pre:pages') { - buildPaginationInfo(); - } else if (params.stage === 'render:pre:page') { - addPaginationInfoToContext(); - } - next(); -}; - - -// export options -plugin.options = options; -module.exports = plugin; diff --git a/lib/plugins/postprocess.js b/lib/plugins/postprocess.js deleted file mode 100644 index 12fa383..0000000 --- a/lib/plugins/postprocess.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ -'use strict'; - - -var options = { - stage: 'render:post:page' -}; - - -/** - * ## Postprocess - * - * @param {Object} params - * @param {Function} callback - */ - -module.exports = function (params, callback) { - - var grunt = params.grunt; - - grunt.verbose.subhead('Running:'.bold, '"assemble-contrib-postprocess"'); - grunt.verbose.writeln('Stage: '.bold, '"render:post:page"\n'); - - var content = params.content; - var p = params.assemble.options.postprocess; - - function postprocess(src, fn) {return fn(src);} - var processFn = function(src) {return src;}; - - params.content = postprocess(content, p || processFn); - callback(); -}; - -module.exports.options = options; \ No newline at end of file diff --git a/lib/templates.js b/lib/templates.js new file mode 100644 index 0000000..c8ff09a --- /dev/null +++ b/lib/templates.js @@ -0,0 +1,7 @@ +'use strict'; + +module.exports = function(app) { + app.create('partials'); + app.create('layouts'); + app.create('pages'); +}; diff --git a/lib/utils.js b/lib/utils.js index b423748..02e3f8c 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,188 +1,68 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ 'use strict'; +// var flatten = require('arr-flatten'); +// var unique = require('array-unique'); var path = require('path'); -var grunt = require('grunt'); -var _ = require('lodash'); - - -var utils = module.exports = {}; - - -utils.arrayify = function(arr) { - return !Array.isArray(arr) ? [arr] : arr; -}; - - -var toString = function (val) { - if (val == null) { - return ''; - } else { - return val.toString(); - } -}; -utils.toString = Object.prototype.toString; - -utils.lowerCase = function (str) { - str = toString(str); - return str.toLowerCase(); -}; - -utils.isUndefined = function (value) { - return value === 'undefined' || utils.toString.call(value) === '[object Function]' || (value.hash != null); -}; - - -// Windows? (from grunt.file) -var win32 = process.platform === 'win32'; -utils.pathNormalize = function(urlString) { - if (win32) { - return urlString.replace(/\\/g, '/'); - } else { - return urlString; - } -}; - - -utils.filenameRegex = /[^\\\/:*?"<>|\r\n]+$/i; - -utils.extension = function(filename) { - grunt.verbose.writeln('extension'); - grunt.verbose.writeln(filename); - if(grunt.util.kindOf(filename) === 'array' && filename.length > 0) { - filename = filename[0]; - } - return _(filename.match(/[^.]*$/)).last(); -}; +var utils = module.exports; +utils.merge = require('mixin-deep'); +utils.extend = require('extend-shallow'); +utils.commands = require('spawn-commands'); +utils.isObject = require('isobject'); +utils.get = require('get-value'); /** - * Check if the give file path ends with a slash. - * @param {String} filepath - * @return {Boolean} - */ -utils.endsWithSlash = function(filepath) { - return /[\\\/]$/.test(filepath); -}; -var endsWithSlash = utils.endsWithSlash; - - -/** - * Check if the give file path ends with a dot. - * @param {String} filepath - * @return {Boolean} + * Create a regex for matching file extensions */ -utils.endsWithDot = function(str) { - return str[str.length -1] === '.'; +utils.extRegex = function(exts) { + // var args = unique(flatten([].slice.call(arguments))); + return new RegExp('\\.(' + utils.arrayify(exts).join('|') + ')$'); }; - /** - * Check if the give file path ends with a dot. - * @param {String} filepath - * @return {Boolean} + * Cast `val` to an array */ -utils.endsWith = function(str, end) { - return str[str.length -1] === end; +utils.arrayify = function(val) { + return [].concat(val || []); }; - /** - * Re-calculate the path from dest file to the given directory - * defined in the assemble options, such as `assets`. - * @param {String} dest Destination of the file. - * @param {String} toPath Calculated "new" path. - * @param {String} origPath Stored original path to check against. - * @return {String} + * Plugins */ -utils.calculatePath = function(destdir, toPath, origPath) { - var relativePath = path.relative(path.resolve(destdir), path.resolve(toPath)); - toPath = utils.pathNormalize(relativePath); - // if the relative path is blank, then it's the same folder - // so update to be '' or './' - if(!toPath || toPath.length === 0) { - // if the original path had a trailing slash - if(endsWithSlash(origPath)) { - // return './' - toPath = './'; +utils.dest = function(app, files) { + return function(file) { + if (files.dest[files.dest.length - 1] !== '/') { + var dest = path.dirname(files.dest); + file.basename = path.basename(files.dest); + file.base = path.resolve(dest); } else { - // otherwise return '' - toPath = '.'; + file.base = path.resolve(files.dest); } - } - // if the original path had a trailing slash and the calculated - // path does not, add a trailing slash - if(endsWithSlash(origPath) && !endsWithSlash(toPath)) { - toPath += '/'; - // Otherwise, if the original path did not have a trailing slash - // and the calculated path does, remove the trailing slash - } else if (!endsWithSlash(origPath) && endsWithSlash(toPath)) { - toPath = toPath.substring(0, toPath.length - 2); - } - return toPath; + file.extname = app.options.ext; + file.path = path.resolve(file.base, file.basename); + return file.base; + }; }; -/** - * Returns 'directory' or 'file' based on the given path. - * @param {String} file path - */ - - utils.detectDestType = function(dest) { - if(utils.endsWith(dest, '/') || grunt.file.isDir(dest)) { - return 'directory'; - } else if (grunt.file.isFile(dest)) { - if (grunt.file.exists(dest)) { - return 'file'; - } else { - throw new Error('Invalid file path.'); - } +utils.formatExt = function(ext) { + if (ext.charAt(0) === '.') { + return ext.slice(1); } + return ext; }; - - -utils.findBasePath = function(srcFiles, basePath) { - if (basePath === false) {return '';} - if (grunt.util.kindOf(basePath) === 'string' && basePath.length >= 1) { - return _(path.normalize(basePath)).trim(path.sep); - } - var foundPath, basePaths = [], dirName; - srcFiles.forEach(function(srcFile) { - srcFile = path.normalize(srcFile); - dirName = path.dirname(srcFile); - basePaths.push(dirName.split(path.sep)); - }); - basePaths = _.intersection.apply([], basePaths); - foundPath = path.join.apply(path, basePaths); - if (foundPath === '.') {foundPath = '';} - return foundPath; +utils.filename = function(fp) { + return path.basename(fp, path.extname(fp)); }; - - -/** - * Read in the given data file based on the file extension. - * @param {String} ext The file extension to check. - * @return {Object} JSON data object. - */ -utils.dataFileReaderFactory = function(ext) { - var reader = grunt.file.readJSON; - switch(ext) { - case '.json': - reader = grunt.file.readJSON; - break; - case '.yml': - case '.yaml': - reader = grunt.file.readYAML; - break; - } - return reader; +utils.renameKey = function(stripExt) { + return function(key, file) { + if (stripExt === true) { + return file ? file.stem : utils.filename(key); + } + return file ? file.basename : path.basename(key); + }; }; diff --git a/package.json b/package.json index 0001602..c97c176 100644 --- a/package.json +++ b/package.json @@ -3,64 +3,80 @@ "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.", "version": "0.4.0", "homepage": "http://assemble.io", - "author": { - "name": "Assemble", - "url": "https://github.com/assemble/assemble" - }, + "author": "Assemble (https://github.com/assemble/assemble)", "contributors": [ - { - "name": "Brian Woodward", - "url": "https://github.com/doowb" - }, - { - "name": "Jon Schlinkert", - "url": "https://github.com/jonschlinkert" - } + "Ain Tohvri (http://tekkie.flashbit.net)", + "Alex Sanz (https://github.com/asans)", + "Anders D. Johnson (https://andrz.me)", + "Ben Drucker (http://www.bendrucker.me)", + "Brian Woodward (https://twitter.com/doowb)", + "Carl A. Bauer (http://carlbauer.org)", + "Casey Garland (https://github.com/caseyg1204)", + "Dane Petersen (https://thegreatsunra.com)", + "Daniel Rauber (https://danielrauber.de)", + "Gion Kunz (https://github.com/gionkunz)", + "Jon Schlinkert (http://twitter.com/jonschlinkert)", + "Jordan Thomas (http://jordanthomas.me)", + "Justin Heideman (https://fiddlyio.com)", + "Laurent Goderre (https://github.com/LaurentGoderre)", + "Michael Mifsud (https://github.com/xzyfer)", + "Mikko Tapionlinna (http://mikko.tapionlinna.fi)", + "Munim Abdul (http://www.munim.net)", + "Patrick Burtchaell (https://pburtchaell.com)", + "Sam Morrison (http://cnstechgroup.com)", + "Steven Black (http://stevenblack.com)", + "Thomas Parisot (https://oncletom.io)", + "Thomas Traub (http://thomastraub.com)", + "Tyler Howarth (twitter.com/tylr)" ], - "repository": { - "type": "git", - "url": "git://github.com/assemble/grunt-assemble.git" - }, + "repository": "assemble/grunt-assemble", "bugs": { - "url": "git://github.com/assemble/grunt-assemble/issues" + "url": "https://github.com/assemble/grunt-assemble/issues" }, - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/assemble/grunt-assemble/blob/master/LICENSE-MIT" - } + "license": "MIT", + "files": [ + "lib", + "tasks" ], - "main": "./lib/assemble", "engines": { - "node": ">= 0.8.0" + "node": ">= 0.10.0" }, "scripts": { - "test": "grunt mochaTest" + "test": "mocha" }, "dependencies": { - "assemble-handlebars": "^0.3.0", - "async": "^0.9.0", - "gray-matter": "^0.4.2", - "inflection": "^1.3.6", - "lodash": "^2.4.1", - "resolve-dep": "^0.4.1" + "arr-flatten": "^1.0.1", + "array-unique": "^0.3.2", + "assemble": "^0.23.0", + "assemble-core": "^0.31.0", + "assemble-loader": "^1.0.5", + "async-each-series": "^1.1.0", + "base-questions": "^0.9.1", + "debug": "^2.6.1", + "engine-handlebars": "^0.8.2", + "export-files": "^2.1.1", + "extend-shallow": "^2.0.1", + "get-value": "^2.0.6", + "inquirer2": "^0.1.1", + "isobject": "^3.0.0", + "map-config": "^0.5.0", + "mixin-deep": "^1.1.3", + "namespace-context": "^0.2.0", + "parser-front-matter": "^1.6.2", + "spawn-commands": "^0.3.1" }, "devDependencies": { - "chai": "^1.9.1", - "grunt": "^0.4.5", - "grunt-cli": "^0.1.13", - "grunt-contrib-clean": "^0.5.0", - "grunt-contrib-jshint": "^0.10.0", - "grunt-mocha-test": "^0.11.0", - "grunt-sync-pkg": "^0.1.2", - "grunt-verb": "^0.2.4", - "handlebars-helper-eachitems": "^0.1.2", - "relative": "^0.1.4", - "time-grunt": "^0.3.2" + "delete": "^0.3.2", + "fs-exists-sync": "^0.1.0", + "grunt": "^1.0.1", + "grunt-contrib-clean": "^1.0.0", + "gruntify-eslint": "^3.1.0", + "gulp-format-md": "^0.1.11", + "mocha": "^3.2.0" }, "keywords": [ - "HTML", "alternative", + "assemble", "blog", "boilerplate", "boilerplates", @@ -77,6 +93,7 @@ "handlebars", "handlebars-helper-eachitems", "helpers", + "HTML", "javascript", "jekyll", "matter", @@ -95,5 +112,20 @@ "website", "yaml", "yeoman" - ] + ], + "lintDeps": { + "files": { + "dependencies": [ + "tasks/**" + ] + } + }, + "verb": { + "related": { + "list": [] + }, + "plugins": [ + "gulp-format-md" + ] + } } diff --git a/tasks/assemble.js b/tasks/assemble.js index 5a82396..4a51e75 100644 --- a/tasks/assemble.js +++ b/tasks/assemble.js @@ -5,721 +5,73 @@ * Licensed under the MIT License (MIT). */ +'use strict'; -module.exports = function(grunt) { - 'use strict'; - - var path = require('path'); - var fs = require('fs'); - var async = require('async'); - var file = grunt.file; - var matter = require('gray-matter'); - var _ = require('lodash'); - - var collection = require('../lib/collection'); - var assemble = require('../lib/assemble'); - var utils = require('../lib/utils'); - - - grunt.registerMultiTask('assemble', 'Compile template files with specified engines', function() { - var done = this.async(); - - - // functions for use in build steps - var optionsConfiguration = function(assemble, next) { - - grunt.verbose.writeln('Validating options'); - - if(utils.endsWithDot(assemble.options.ext)) { - grunt.warn('Invalid ext "' + assemble.options.ext + '". ext cannot end with a period.'); - done(false); - } - - // find an engine to use - assemble.options.engine = assemble.options.engine || 'handlebars'; - grunt.verbose.ok(">> Current engine:".yellow, assemble.options.engine); - - assemble.engine.load(assemble.options.engine); - - var initializeEngine = function(engine, options) { engine.init(options, { grunt: grunt, assemble: assemble }); }; - assemble.options.initializeEngine = assemble.options.initializeEngine || initializeEngine; - - var registerFunctions = function(engine) { engine.registerFunctions(); }; - assemble.options.registerFunctions = assemble.options.registerFunctions || registerFunctions; - - var registerPartial = function(engine, filename, content) { engine.registerPartial(filename, content); }; - assemble.options.registerPartial = assemble.options.registerPartial || registerPartial; - - assemble.partials = file.expand(assemble.options.partials); - - if(_.isArray(assemble.options.data)) { - assemble.dataFiles = file.expand(assemble.options.data); - assemble.options.data = {}; - } - - // Expand layout into layoutFiles if a glob pattern is specified - if(assemble.options.layouts) { - assemble.layoutFiles = file.expand({filter: 'isFile'}, assemble.options.layouts); - } - - if(assemble.layoutFiles && assemble.layoutFiles.length !== 0) { - grunt.verbose.writeln('Found layout files:'.yellow, assemble.layoutFiles); - } else { - assemble.layoutFiles = null; - } - - assemble.options.initializeEngine(assemble.engine, assemble.options); - assemble.options.registerFunctions(assemble.engine); - - next(assemble); - }; - - - - /** - * Layout - * @param {[type]} assemble [description] - * @param {Function} next [description] - * @return {[type]} [description] - */ - var assembleDefaultLayout = function(assemble, next) { - grunt.verbose.writeln('Assembling default layout'.cyan); - - // load default layout - loadLayout( - assemble.options.layout, - assemble, - function(err, results) { - if(!err) { - assemble.options.defaultLayout = results; - } else { - grunt.warn(err.message); - } - }); - - next(assemble); - }; - - - /** - * Partials - * @param {[type]} assemble [description] - * @param {Function} next [description] - * @return {[type]} [description] - */ - - var assemblePartials = function(assemble, next) { - grunt.verbose.writeln('Assembling partials'.cyan); - - // load partials if specified - var partials = assemble.partials; - if(partials && partials.length > 0) { - grunt.verbose.write(('\n' + 'Processing partials...\n').grey); - - partials.forEach(function(filepath) { - var filename = path.basename(filepath, path.extname(filepath)); - grunt.verbose.ok(('Processing ' + filename.cyan + ' partial')); - - var partial = grunt.file.read(filepath); - - // If the partial is empty, pass a placeholder string to get around - // handlebars limitations - if(partial === '') { - partial = '{{!}}'; - } - - // get the data - var parsedPartial = matter(partial, assemble.options.matter); - assemble.options.data[filename] = _.extend({}, parsedPartial.data || {}, assemble.options.data[filename] || {}); - - // register the partial - assemble.options.registerPartial(assemble.engine, filename, parsedPartial.content); - }); - } - - next(assemble); - }; +var path = require('path'); +var series = require('async-each-series'); +var plugin = require('../lib/plugin'); +// var mapper = require('../lib/mapper'); +var utils = require('../lib/utils'); +module.exports = function(grunt) { + grunt.registerMultiTask('assemble', 'static site generator', function() { + var cb = this.async(); /** - * Data - * @param {[type]} assemble [description] - * @param {Function} next [description] - * @return {[type]} [description] + * Assemble task options */ - var assembleData = function(assemble, next) { - grunt.verbose.writeln('Assembling data'.cyan); - - // load data if specified - var dataFiles = assemble.dataFiles; - if(dataFiles && dataFiles.length > 0) { - grunt.verbose.writeln(('\n' + 'Processing data...').grey); - - dataFiles.forEach(function(filepath) { - var ext = path.extname(filepath); - var filename = path.basename(filepath, ext); - var fileReader = utils.dataFileReaderFactory(ext); - var filecontent = grunt.file.read(filepath); - //Skip empty data files, as they'd cause an error with compiler - if (filecontent === '') { - grunt.verbose.writeln('Reading ' + filepath + '...empty, ' + 'skipping'.yellow); - } else { + var opts = this.options({ + plugins: [], + helpers: [], + data: [], + assets: '', + ext: '.html', + engine: 'hbs', + collections: {}, - if (filename === 'data') { - // if this is the base data file, load it into the options.data object directly - assemble.options.data = _.extend({}, (assemble.options.data || {}), fileReader(filepath)); - } else { - // otherwise it's an element in options.data - var d = fileReader(filepath); - var obj = null; - if (d[filename]) { - obj = d[filename]; - } else { - obj = d; - } - - if (_.isArray(obj)) { - // if the object is an Array, union the results - assemble.options.data[filename] = _.union((assemble.options.data[filename] || []) , obj); - } else { - // extend the object - assemble.options.data[filename] = _.extend({}, (assemble.options.data[filename] || {}), obj); - } - - } - } - }); - } - next(assemble); - }; + partials: [], + layoutdir: '', + layout: '', + layouts: '', + layoutext: '' + }); + opts.engine = utils.formatExt(opts.engine); + opts.layoutext = opts.layoutext ? utils.formatExt(opts.layoutext) : opts.engine; + opts.layouts = opts.layouts || path.resolve(opts.layoutdir, '*.' + opts.layoutext); /** - * Pages - * @param {[type]} assemble [description] - * @param {Function} next [description] - * @return {[type]} [description] + * Get the instance of assemble to use */ - var assemblePages = function(assemble, next) { - grunt.verbose.writeln(('\n' + 'Building pages...').grey); - var src = false; - var assetsPath = assemble.options.originalAssets; - - async.waterfall([ - function(stepDone){ - async.forEach(assemble.task.files, function(filePair, done) { - - // validate that the source object exists and there are files at the source. - if(!filePair.src) { - grunt.warn('Missing src property.'); - done(); - return false; - } - if(filePair.src.length === 0 && (!assemble.options.pages)) { - grunt.warn('Source files not found.'); - done(); - return false; - } - - // validate that the dest object exists - if(!filePair.dest || filePair.dest.length === 0) { - grunt.warn('Missing dest property.'); - done(); - return false; - } - - src = src || filePair.src; - //var basePath = utils.findBasePath(src, true); - - // some of the code for calculating destination paths files was - // inspired by https://github.com/gruntjs/grunt-contrib-copy - var isExpandedPair = filePair.orig.expand || false; - var destFile; - - var buildPage = function(srcFile, fileInfo) { - - var useFileInfo = (typeof fileInfo !== 'undefined'); - - srcFile = utils.pathNormalize(path.normalize(srcFile)); - var filename = path.basename(srcFile, path.extname(srcFile)); - - - if(utils.detectDestType(filePair.dest) === 'directory') { - destFile = (isExpandedPair) ? filePair.dest : path.join( - filePair.dest, (assemble.options.flatten ? path.basename(srcFile) : srcFile) - ); - } else { - destFile = filePair.dest; - } - - var destDirname = path.dirname(destFile); - var destBasename = path.basename(destFile, path.extname(destFile)); - destFile = utils.pathNormalize(path.join(destDirname, destBasename)) + assemble.options.ext; - - grunt.verbose.writeln('Reading ' + filename.magenta); - - - /** - * Calculate "assets" path - */ - grunt.verbose.writeln('assetsPath: ' + assetsPath); - grunt.verbose.writeln('DestFile: ' + destDirname); - - // `options.assets` generate the relative path to the dest "assets" - // directory from the location of the newly generated dest file - assemble.options.assets = utils.calculatePath(destDirname, assetsPath, assemble.options.assets); - - - grunt.verbose.writeln(('\t' + 'srcFile: ' + srcFile)); - grunt.verbose.writeln(('\t' + 'destFile: ' + destFile)); - grunt.verbose.writeln(('\t' + 'assets: ' + assemble.options.assets)); - - - /** - * Page - */ - var page = useFileInfo ? (fileInfo.content || '') : grunt.file.read(srcFile); - try { - grunt.verbose.writeln('Compiling page ' + filename.magenta); - var pageContext = {}; - - // If the page file is empty, we still want to process it. Since the compiler - // will choke on empty files let's pass it a non-rendering string instead. - if(page === '') { - page = '{{!}}'; - } - - var parsedPage = matter(page, assemble.options.matter); - pageContext = useFileInfo ? (fileInfo.data || fileInfo.metadata || {}) : parsedPage.data; - - // Page object - var pageObj = { - '_page': 'all', - - dirname : path.dirname(destFile), - filename: path.basename(destFile), - pageName: path.basename(destFile), // deprecated, use pagename or filename - pagename: path.basename(destFile), - basename: path.basename(filename, path.extname(filename)), - src : srcFile, - dest : destFile, - assets : assemble.options.assets, - ext : assemble.options.ext, - extname : assemble.options.ext, - page : parsedPage.content, - data : pageContext, - filePair: filePair - }; - - if(pageObj.data.published === false) { - grunt.verbose.writeln('>> Skipping '.yellow + '"' + path.basename(srcFile).grey + '" since ' + '"published: false"'.cyan + ' was set.'); - return; - } - - assemble.options.collections.pages.items[0].pages.push(pageObj); - _(assemble.options.collections).forEach(function(item, key) { - if(key !== 'pages') { - assemble.options.collections[key] = collection.update(item, pageObj, pageContext); - } - }); - - } catch(err) { - grunt.warn(err); - return false; - } - return true; - }; - - async.parallel([ - function(buildDone){ - // build all the pages defined in the source property - async.forEach(filePair.src, function(srcFile, pairDone) { - if(!buildPage(srcFile)) { - pairDone(); - return false; - } - pairDone(); - }, buildDone); // filePair.src.forEach - }, - - // Build options.pages - function(buildDone){ - // if there is a pages property, build the pages contained therein. - if(assemble.options.pages) { - _.forOwn(assemble.options.pages, function(fileInfo, filename) { - if(!filename || filename.length === 0) { - grunt.warn('Pages need a filename.'); - buildDone(); - return false; - } - if(!buildPage(filename, fileInfo)) { - buildDone(); - return false; - } - }); - } - buildDone(); - } - ], done); - }, stepDone); // this.files.forEach - }, - function(stepDone){ - grunt.verbose.writeln('Information compiled'); - - assemble.options.pages = collection.sort(assemble.options.collections.pages).items[0].pages; - _(assemble.options.collections).forEach(function(item, key) { - if(key !== 'pages') { - assemble.options[key] = collection.sort(item).items; - } - }); - stepDone(); - } - ], function(){ next(assemble); }); - }; + var app = opts.app; + if (!utils.isObject(opts.app) || !opts.app.isAssemble) { + app = require('assemble-core')(); + } + // set `grunt` and `task` on the assemble instance + app.grunt = grunt; + app.task = this; + app.use(plugin(opts)); /** - * Render pages - * @param {[type]} assemble [description] - * @param {Function} next [description] - * @return {[type]} [description] + * Load templates */ - var renderPages = function(assemble, next) { - grunt.verbose.writeln(('\n' + 'Assembling pages...').yellow); - - async.forEach(assemble.options.pages, function(page, done) { - grunt.verbose.writeln(require('util').inspect(page)); - - build(page, assemble, function(err, result) { - grunt.log.write('Assembling ' + (page.dest).cyan +' '); - if(err) { - grunt.verbose.write(' '); - grunt.log.error(); - grunt.warn(err); - done(false); - return; - } - // Run any plugins for the 'render:post:page' stage - var params = { - grunt: grunt, // the `grunt` object - assemble: assemble, // the `assemble` object - page: page, // the raw page - content: result // the rendered page - }; - assemble.plugins.runner('render:post:page', params)(function() { - // Write the file. - file.write(page.dest, params.content); - grunt.verbose.writeln('Assembled ' + (page.dest).cyan +' OK'.green); - grunt.log.notverbose.ok(); - done(); - }); - }); // build - - }, function(){ - grunt.log.ok(((assemble.options.pages).length).toString() + ' pages assembled.'); - next(assemble); - }); - }; - - - // setup plugin params - var pluginParams = { - grunt: grunt, - assemble: assemble - }; - - // assemble everything - assemble.init(this, grunt) - - // Options configuration - .step(assemble.plugins.buildStep('options:pre:configuration', pluginParams)) - .step(optionsConfiguration) - .step(assemble.plugins.buildStep('options:post:configuration', pluginParams)) - - // Assemble layout - .step(assemble.plugins.buildStep('assemble:pre:layout', pluginParams)) - .step(assembleDefaultLayout) - .step(assemble.plugins.buildStep('assemble:post:layout', pluginParams)) - - // Assemble partials - .step(assemble.plugins.buildStep('assemble:pre:partials', pluginParams)) - .step(assemblePartials) - .step(assemble.plugins.buildStep('assemble:post:partials', pluginParams)) - - // Assemble data - .step(assemble.plugins.buildStep('assemble:pre:data', pluginParams)) - .step(assembleData) - .step(assemble.plugins.buildStep('assemble:post:data', pluginParams)) - - // Assemble pages - .step(assemble.plugins.buildStep('assemble:pre:pages', pluginParams)) - .step(assemblePages) - .step(assemble.plugins.buildStep('assemble:post:pages', pluginParams)) - - // Render pages - .step(assemble.plugins.buildStep('render:pre:pages', pluginParams)) - .step(renderPages) - .step(assemble.plugins.buildStep('render:post:pages', pluginParams)) - - .build(function(err) { - if(err) { - grunt.warn(err); - done(false); - } - done(); - }); + app.partials(opts.partials); + app.layouts(opts.layouts); + + series(app.task.files, function(files, next) { + app.pages(files.src, app.options); + app.toStream('pages') + .pipe(app.renderFile(app.options.engine)) + .on('error', console.log) + .pipe(app.dest(utils.dest(app, files))) + .on('error', next) + .on('end', next); + }, cb); }); - - - - - // ========================================================================== - // BUILD - // ========================================================================== - - var build = function(currentPage, assemble, callback) { - var options = assemble.options; - - grunt.verbose.writeln('Currentpage: ' + currentPage); - - var pageContext = currentPage.data, - layout = _.cloneDeep(options.defaultLayout), - data = options.data, - pages = options.pages, - collections = options.collections, - context = {}; - - grunt.verbose.writeln('Variables loaded'); - - - try { - - // omit the collections from pageContext when merging - var pageCollections = _.pick(pageContext, _.keys(collections)); - pageContext = _.omit(pageContext, _.keys(collections)); - - options.data = undefined; - options.pages = undefined; - options.layout = undefined; - options.collections = undefined; - context = _.extend({}, context, assemble.util.filterProperties(options), data, pageContext); - options.data = data; - options.pages = pages; - options.collections = collections; - - // if pageContext contains a layout, use that one instead - // of the default layout - if(pageContext && (pageContext.layout || pageContext.layout === false || pageContext.layout === 'none')) { - - var pageLayout = null; - - context = processContext(grunt, context); - - loadLayout( - context.layout, - assemble, - function(err, results) { - if(!err) { - pageLayout = results; - } else { - grunt.warn(err.message); - } - } - ); - - if(pageLayout) { - layout = pageLayout; - context.layoutName = pageLayout.layoutName; - data = _.extend({}, data, pageLayout.data); - - } - } - - // extend again - options.data = undefined; - options.pages = undefined; - options.layout = undefined; - options.collections = undefined; - context = _.extend({}, context, assemble.util.filterProperties(options), layout.data, data, pageContext); - options.data = data; - options.pages = pages; - options.collections = collections; - - - // add omitted collections back to pageContext - pageContext = _.merge(pageContext, pageCollections); - context = processContext(grunt, context); - - // process the current page data - currentPage.data = processContext(grunt, context, currentPage.data); - - // add the list of pages back to the context so it's available in the templates - context.pages = pages; - context.page = currentPage; - - // apply any data for this page to the page object - context.page = _.extend({}, (context[currentPage.basename] || {}), currentPage.data, context.page); - - // make sure the currentPage assets is used - context.assets = currentPage.assets; - - - // add other page variables to the main context - context.dirname = path.dirname(currentPage.dest); - context.absolute = currentPage.dest; - context.filename = currentPage.filename; - context.pageName = currentPage.filename; // "pageName" is deprecated, use "pagename" or "filename" - context.pagename = currentPage.filename; - context.basename = currentPage.basename; - context.extname = currentPage.ext; - - context.page.page = injectBody(layout.layout, context.page.page); - - // Run any plugins for the 'render:pre:page' stage - assemble.plugins.runner('render:pre:page', { - grunt: grunt, - assemble: assemble, - context: context - })(function () { - assemble.engine.render(context.page.page, context, function (err, content) { - if (err) { - callback(err); - } - callback(null, content); - }); - }); - - } catch(err) { - callback(err); - return; - } - }; - - - /** - * Process Context - * @param {[type]} grunt [description] - * @param {[type]} context [description] - * @param {[type]} data [description] - * @return {[type]} [description] - */ - var processContext = function(grunt, context, data) { - grunt.config.data = _.extend({}, grunt.config.data, context, data); - return grunt.config.process(data || context); - }; - - - /** - * Load Layout - * @param {[type]} src [description] - * @param {[type]} assemble [description] - * @param {Function} callback [description] - * @return {[type]} [description] - */ - var loadLayout = function(src, assemble, callback) { - - var layoutStack = []; - var layoutName = 'layout'; - var defaultLayout = assemble.engine.startDelimiter + ' body ' + assemble.engine.endDelimiter; // '{{> body }}'; - - var layoutext = assemble.options.layoutext || ''; - var layout = ''; - var layoutdir = assemble.options.layoutdir || assemble.options.layouts || ''; - - var load = function(src) { - - var loadFile = true; - - // if the src is empty, create a default layout in memory - if(!src || src === false || src === '' || src.length === 0 || src === 'none') { - loadFile = false; - layout = defaultLayout; // '{{>body}}'; - } - - var layoutPath = src + layoutext; - - if(loadFile) { - grunt.verbose.writeln(src); - // Check if we should use the files resolved with glob - if(assemble.layoutFiles) { - var matchedLayout = assemble.layoutFiles.filter(function findLayout(layout) { - return path.basename(layout) === layoutPath; - })[0]; - layout = matchedLayout ? path.normalize(matchedLayout) : layoutPath; - } else { - // If layouts or layoutdir was not a valid glob pattern, validate that the layout file exists if we assume - // layouts or layoutdir to be a directory path - layout = path.normalize(path.join(layoutdir, layoutPath)); - } - grunt.verbose.writeln(layout); - - if(!fs.existsSync(layout)) { - var err = 'Layout file (' + layout + ') not found.'; - grunt.warn(err); - if(callback) { - callback({message: err}, null); - } - return false; - } - - // load layout - layoutName = path.basename(layout, path.extname(layout)); - - layout = grunt.file.read(layout); - layout = layout.replace(/\{{>\s*body\s*}}/, function () { return defaultLayout; }); - } - - var parsedLayout = matter(layout, assemble.options.matter); - var layoutData = parsedLayout.data; - - var results = { - layoutName: layoutName, - layout: parsedLayout.content, - data: layoutData - }; - - layoutStack.push(results); - - if(layoutData && (layoutData.layout || layoutData.layout === false || layoutData.layout === 'none')) { - load(layoutData.layout); - } - }; - - load(src); - - var layoutInfo; - var finalResults = { - layoutName: '', - layout: defaultLayout, // '{{>body}}', - data: {} - }; - - while (layoutInfo = layoutStack.pop()) { - finalResults.layout = injectBody(finalResults.layout, layoutInfo.layout); - finalResults.data = _.extend({}, finalResults.data, layoutInfo.data); - finalResults.layoutName = layoutInfo.layoutName; - } - - if(callback) { - callback(null, finalResults); - } - return finalResults; - }; - - - /** - * Inject content from a page into a layout at the `{{> body }}` insertion point - * @param {String} layout The raw layout - * @param {String} body The raw page - * @return {String} The raw, assembled, uncompiled and unprocessed page - */ - var injectBody = function(layout, body) { - return layout.replace(assemble.engine.bodyRegex, function () { return body; }); - }; - }; diff --git a/test/actual/assets_base.html b/test/actual/assets_base.html deleted file mode 100644 index 33b5ba1..0000000 --- a/test/actual/assets_base.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

Page dest: test/actual/assets_base.html

-

Dest filename: assets_base.html

-

Dest basename: assets

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- -

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

- - - - - -

Same Folder

-

Assets folder is in the same dir as dest files.

-
-assets_base: {
-  options: {assets: 'test/actual'},
-  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}
-},
-
- - - - - - - - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../assets",
-  "basename": "assets",
-  "data": {},
-  "dest": "test/actual/assets_base.html",
-  "dirname": "test/actual",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/assets_path/assets.hbs"
-    ],
-    "dest": "test/actual/assets_base.html",
-    "orig": {
-      "src": [
-        "test/fixtures/assets_path/assets.hbs"
-      ],
-      "dest": "test/actual/assets_base.html"
-    }
-  },
-  "filename": "assets_base.html",
-  "first": true,
-  "index": 0,
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n

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

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

\"Public\" Folder

\n

Public (assets) folder is in the project root

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

Same Folder

\n

Assets folder is in the same dir as dest files.

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

Project Root

\n

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

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

Project Root With Slash

\n

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

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

Same Folder With Slash

\n

Assets folder is in the same dir as dest files

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "assets_base.html", - "pagename": "assets_base.html", - "src": "test/fixtures/assets_path/assets.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/assets_blank_path.html b/test/actual/assets_blank_path.html deleted file mode 100644 index ce8a935..0000000 --- a/test/actual/assets_blank_path.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

Page dest: test/actual/assets_blank_path.html

-

Dest filename: assets_blank_path.html

-

Dest basename: assets

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- -

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

- - - - - - - - - - - - - - -

Same Folder With Slash

-

Assets folder is in the same dir as dest files

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../..",
-  "basename": "assets",
-  "data": {},
-  "dest": "test/actual/assets_blank_path.html",
-  "dirname": "test/actual",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/assets_path/assets.hbs"
-    ],
-    "dest": "test/actual/assets_blank_path.html",
-    "orig": {
-      "src": [
-        "test/fixtures/assets_path/assets.hbs"
-      ],
-      "dest": "test/actual/assets_blank_path.html"
-    }
-  },
-  "filename": "assets_blank_path.html",
-  "first": true,
-  "index": 0,
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n

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

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

\"Public\" Folder

\n

Public (assets) folder is in the project root

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

Same Folder

\n

Assets folder is in the same dir as dest files.

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

Project Root

\n

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

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

Project Root With Slash

\n

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

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

Same Folder With Slash

\n

Assets folder is in the same dir as dest files

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "assets_blank_path.html", - "pagename": "assets_blank_path.html", - "src": "test/fixtures/assets_path/assets.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/assets_dot_slash.html b/test/actual/assets_dot_slash.html deleted file mode 100644 index 1ce0d29..0000000 --- a/test/actual/assets_dot_slash.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

Page dest: test/actual/assets_dot_slash.html

-

Dest filename: assets_dot_slash.html

-

Dest basename: assets

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- -

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

- - - - - - - - - - - -

Project Root With Slash

-

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

-
-assets_dot_slash: {
-  options: {assets: './'},
-  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}
-}
-
- - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../assets",
-  "basename": "assets",
-  "data": {},
-  "dest": "test/actual/assets_dot_slash.html",
-  "dirname": "test/actual",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/assets_path/assets.hbs"
-    ],
-    "dest": "test/actual/assets_dot_slash.html",
-    "orig": {
-      "src": [
-        "test/fixtures/assets_path/assets.hbs"
-      ],
-      "dest": "test/actual/assets_dot_slash.html"
-    }
-  },
-  "filename": "assets_dot_slash.html",
-  "first": true,
-  "index": 0,
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n

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

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

\"Public\" Folder

\n

Public (assets) folder is in the project root

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

Same Folder

\n

Assets folder is in the same dir as dest files.

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

Project Root

\n

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

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

Project Root With Slash

\n

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

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

Same Folder With Slash

\n

Assets folder is in the same dir as dest files

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "assets_dot_slash.html", - "pagename": "assets_dot_slash.html", - "src": "test/fixtures/assets_path/assets.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/assets_nested.html b/test/actual/assets_nested.html deleted file mode 100644 index 44b18b8..0000000 --- a/test/actual/assets_nested.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

Page dest: test/actual/assets_nested.html

-

Dest filename: assets_nested.html

-

Dest basename: assets

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- -

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

- - -

"Public" Folder

-

Public (assets) folder is in the project root

-
-originalAssets: test/assets/nested
-assets: ../assets/nested
-dest: 
-src: 
-assets_nested: {
-  options: {assets: 'test/actual/public'},
-  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}
-},
-
- - - - - - - - - - - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../assets/nested",
-  "basename": "assets",
-  "data": {},
-  "dest": "test/actual/assets_nested.html",
-  "dirname": "test/actual",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/assets_path/assets.hbs"
-    ],
-    "dest": "test/actual/assets_nested.html",
-    "orig": {
-      "src": [
-        "test/fixtures/assets_path/assets.hbs"
-      ],
-      "dest": "test/actual/assets_nested.html"
-    }
-  },
-  "filename": "assets_nested.html",
-  "first": true,
-  "index": 0,
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n

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

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

\"Public\" Folder

\n

Public (assets) folder is in the project root

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

Same Folder

\n

Assets folder is in the same dir as dest files.

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

Project Root

\n

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

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

Project Root With Slash

\n

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

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

Same Folder With Slash

\n

Assets folder is in the same dir as dest files

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "assets_nested.html", - "pagename": "assets_nested.html", - "src": "test/fixtures/assets_path/assets.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/assets_trailing_slash.html b/test/actual/assets_trailing_slash.html deleted file mode 100644 index 6915a33..0000000 --- a/test/actual/assets_trailing_slash.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

Page dest: test/actual/assets_trailing_slash.html

-

Dest filename: assets_trailing_slash.html

-

Dest basename: assets

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- -

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

- - - - - - - - -

Project Root

-

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

-
-assets_trailing_slash: {
-  options: {assets: ''},
-  files: {'test/actual/assets_trailing_slash.html': ['test/files/assets.hbs']}
-}
-
- - - - - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../assets/",
-  "basename": "assets",
-  "data": {},
-  "dest": "test/actual/assets_trailing_slash.html",
-  "dirname": "test/actual",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/assets_path/assets.hbs"
-    ],
-    "dest": "test/actual/assets_trailing_slash.html",
-    "orig": {
-      "src": [
-        "test/fixtures/assets_path/assets.hbs"
-      ],
-      "dest": "test/actual/assets_trailing_slash.html"
-    }
-  },
-  "filename": "assets_trailing_slash.html",
-  "first": true,
-  "index": 0,
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n

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

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

\"Public\" Folder

\n

Public (assets) folder is in the project root

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

Same Folder

\n

Assets folder is in the same dir as dest files.

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

Project Root

\n

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

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

Project Root With Slash

\n

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

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

Same Folder With Slash

\n

Assets folder is in the same dir as dest files

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "assets_trailing_slash.html", - "pagename": "assets_trailing_slash.html", - "src": "test/fixtures/assets_path/assets.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/alert.html b/test/actual/collections/asc/alert.html deleted file mode 100644 index 288ce43..0000000 --- a/test/actual/collections/asc/alert.html +++ /dev/null @@ -1,1368 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: alert.html

-

Dest basename: alert

-

Page title: Title for "alert.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - components - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 2

-
-
- - - alert - - bootstrap - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Title for "alert.hbs"

-
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "alert",
-  "categories": [
-    "components"
-  ],
-  "data": {
-    "title": "Title for \"alert.hbs\"",
-    "one": {
-      "two": "This is an alert"
-    },
-    "categories": [
-      "components"
-    ],
-    "tags": [
-      "alert",
-      "bootstrap"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/asc/alert.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "alert.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "one": {
-    "two": "This is an alert"
-  },
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n

{{{title}}}

\n
{{{one.two}}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "alert.html", - "pagename": "alert.html", - "prev": 0, - "relativeLink": "alert.html", - "src": "test/fixtures/pages/alert.hbs", - "tags": [ - "alert", - "bootstrap" - ], - "title": "Title for \"alert.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/collections-categories.html b/test/actual/collections/asc/collections-categories.html deleted file mode 100644 index 63777ad..0000000 --- a/test/actual/collections/asc/collections-categories.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-categories.html

-

Dest basename: collections-categories

-

Page title: Collections Categories

-
- -
-
-
- - - - -
-
-

categories on this page: 5

-
-
- - - collections - - categories - - one - - two - - three - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Categories

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-categories",
-  "categories": [
-    "collections",
-    "categories",
-    "one",
-    "two",
-    "three"
-  ],
-  "data": {
-    "title": "Collections Categories",
-    "categories": [
-      "collections",
-      "categories",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/asc/collections-categories.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "collections-categories.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Categories

\n
\n
\n {{#categories}}\n {{category}}\n {{/categories}}\n
\n
\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-categories.html", - "pagename": "collections-categories.html", - "prev": 6, - "relativeLink": "collections-categories.html", - "src": "test/fixtures/pages/collections-categories.hbs", - "title": "Collections Categories" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/collections-pages.html b/test/actual/collections/asc/collections-pages.html deleted file mode 100644 index c62caed..0000000 --- a/test/actual/collections/asc/collections-pages.html +++ /dev/null @@ -1,1376 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-pages.html

-

Dest basename: collections-pages

-

Page title: Pages Collection

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

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

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

{{title}}

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-pages.html", - "pagename": "collections-pages.html", - "prev": 1, - "relativeLink": "collections-pages.html", - "src": "test/fixtures/pages/collections-pages.hbs", - "tags": [ - "pages" - ], - "title": "Pages Collection" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/collections-tags.html b/test/actual/collections/asc/collections-tags.html deleted file mode 100644 index 5e8860b..0000000 --- a/test/actual/collections/asc/collections-tags.html +++ /dev/null @@ -1,1392 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-tags.html

-

Dest basename: collections-tags

-

Page title: Tags Test

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 5

-
-
- - - tags - - collections - - one - - two - - three - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Tags

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-tags",
-  "data": {
-    "title": "Tags Test",
-    "tags": [
-      "tags",
-      "collections",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/asc/collections-tags.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "collections-tags.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Tags

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-tags.html", - "pagename": "collections-tags.html", - "prev": 2, - "relativeLink": "collections-tags.html", - "src": "test/fixtures/pages/collections-tags.hbs", - "tags": [ - "tags", - "collections", - "one", - "two", - "three" - ], - "title": "Tags Test" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/collections.html b/test/actual/collections/asc/collections.html deleted file mode 100644 index 2294e3d..0000000 --- a/test/actual/collections/asc/collections.html +++ /dev/null @@ -1,1453 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections.html

-

Dest basename: collections

-

Page title: Collections

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tags - - collections - - one - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -Collections -
    - -
  • alert
  • - -
  • bootstrap
  • - -
  • collections
  • - -
  • complex
  • - -
  • example
  • - -
  • examples
  • - -
  • markdown
  • - -
  • md
  • - -
  • one
  • - -
  • pages
  • - -
  • tags
  • - -
  • test
  • - -
  • tests
  • - -
  • three
  • - -
  • two
  • - -
- -
    - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
- -
    - -
  • debug-helpers
  • - -
  • alert
  • - -
  • collections-pages
  • - -
  • collections-tags
  • - -
  • collections
  • - -
  • complex
  • - -
  • context
  • - -
  • collections-categories
  • - -
  • example
  • - -
  • gist-helper
  • - -
  • lodash
  • - -
  • md-helper
  • - -
  • no-yfm
  • - -
  • yfm-context
  • - -
  • yfm
  • - -
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections",
-  "data": {
-    "title": "Collections",
-    "tags": [
-      "tags",
-      "collections",
-      "one"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/asc/collections.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "collections.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{title}}\n
    \n{{#tags}}\n
  • {{tag}}
  • \n{{/tags}}\n
\n\n
    \n{{#categories}}\n
  • {{categories}}
  • \n{{/categories}}\n
\n\n
    \n{{#pages}}\n\t
  • {{basename}}
  • \n{{/pages}}\n
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections.html", - "pagename": "collections.html", - "prev": 3, - "relativeLink": "collections.html", - "src": "test/fixtures/pages/collections.hbs", - "tags": [ - "tags", - "collections", - "one" - ], - "title": "Collections" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/complex.html b/test/actual/collections/asc/complex.html deleted file mode 100644 index 956b519..0000000 --- a/test/actual/collections/asc/complex.html +++ /dev/null @@ -1,1369 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: complex.html

-

Dest basename: complex

-

Page title: Complex YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tests - - examples - - complex - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "complex",
-  "categories": [
-    "pages"
-  ],
-  "data": {
-    "title": "Complex YFM",
-    "foo": "bar",
-    "version": 2,
-    "categories": [
-      "pages"
-    ],
-    "tags": [
-      "tests",
-      "examples",
-      "complex"
-    ],
-    "items": [
-      "alpha",
-      "beta"
-    ]
-  },
-  "dest": "test/actual/collections/asc/complex.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "complex.html",
-  "first": false,
-  "foo": "bar",
-  "index": 5,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "complex.html", - "pagename": "complex.html", - "prev": 4, - "relativeLink": "complex.html", - "src": "test/fixtures/pages/complex.hbs", - "tags": [ - "tests", - "examples", - "complex" - ], - "title": "Complex YFM", - "version": 2 -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/context.html b/test/actual/collections/asc/context.html deleted file mode 100644 index ed0ee54..0000000 --- a/test/actual/collections/asc/context.html +++ /dev/null @@ -1,1589 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: context.html

-

Dest basename: context

-

Page title: Context

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - context - - pages - - fixtures - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

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

- - - -
- - - -
- - - -
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "context",
-  "categories": [
-    "context",
-    "pages",
-    "fixtures"
-  ],
-  "data": {
-    "title": "Context",
-    "description": "The variables on this page are in shown in different contexts.",
-    "categories": [
-      "context",
-      "pages",
-      "fixtures"
-    ],
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "description": "The variables on this page are in shown in different contexts.",
-  "dest": "test/actual/collections/asc/context.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "context.html",
-  "first": false,
-  "index": 6,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "context.html", - "pagename": "context.html", - "prev": 5, - "relativeLink": "context.html", - "src": "test/fixtures/pages/context.hbs", - "title": "Context" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/debug-helpers.html b/test/actual/collections/asc/debug-helpers.html deleted file mode 100644 index 5a5f883..0000000 --- a/test/actual/collections/asc/debug-helpers.html +++ /dev/null @@ -1,1331 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/debug-helpers.hbs

-

Page dest: test/actual/collections/asc/debug-helpers.html

-

Dest filename: debug-helpers.html

-

Dest basename: debug-helpers

-

Page title: Debug Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{debug}} helper

-

Uncomment the debug helper below, run grunt assemble, and watch the output in the command line to see how it works.

- - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "debug-helpers",
-  "data": {
-    "title": "Debug Helper"
-  },
-  "dest": "test/actual/collections/asc/debug-helpers.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "debug-helpers.html",
-  "first": true,
-  "index": 0,
-  "last": false,
-  "middle": false,
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "debug-helpers.html", - "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs", - "title": "Debug Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/example.html b/test/actual/collections/asc/example.html deleted file mode 100644 index ef7f1e6..0000000 --- a/test/actual/collections/asc/example.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: example.html

-

Dest basename: example

-

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

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/collections/asc/example.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "example.html",
-  "first": false,
-  "index": 8,
-  "isCurrentPage": false,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "example.html", - "pagename": "example.html", - "prev": 7, - "relativeLink": "example.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/gist-helper.html b/test/actual/collections/asc/gist-helper.html deleted file mode 100644 index edabd0a..0000000 --- a/test/actual/collections/asc/gist-helper.html +++ /dev/null @@ -1,1334 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: gist-helper.html

-

Dest basename: gist-helper

-

Page title: Gist Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{gist}} helper

- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "gist-helper",
-  "data": {
-    "title": "Gist Helper"
-  },
-  "dest": "test/actual/collections/asc/gist-helper.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "gist-helper.html",
-  "first": false,
-  "index": 9,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 10,
-  "number": 10,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n# \\{{gist}} helper\n{{gist '5193239'}}\n\n{{/markdown}}\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "gist-helper.html", - "pagename": "gist-helper.html", - "prev": 8, - "relativeLink": "gist-helper.html", - "src": "test/fixtures/pages/gist-helper.hbs", - "title": "Gist Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/lodash.html b/test/actual/collections/asc/lodash.html deleted file mode 100644 index 235d670..0000000 --- a/test/actual/collections/asc/lodash.html +++ /dev/null @@ -1,1335 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: lodash.html

-

Dest basename: lodash

-

Page title: Assemble

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Assemble

-

Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.

- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "lodash",
-  "data": {
-    "title": "Assemble",
-    "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages."
-  },
-  "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.",
-  "dest": "test/actual/collections/asc/lodash.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "lodash.html",
-  "first": false,
-  "index": 10,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 11,
-  "number": 11,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

{{title}}

\n

{{description}}

\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lodash.html", - "pagename": "lodash.html", - "prev": 9, - "relativeLink": "lodash.html", - "src": "test/fixtures/pages/lodash.hbs", - "title": "Assemble" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/md-helper.html b/test/actual/collections/asc/md-helper.html deleted file mode 100644 index 29624c4..0000000 --- a/test/actual/collections/asc/md-helper.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: md-helper.html

-

Dest basename: md-helper

-

Page title: md helper

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - markdown - - helper - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - test - - md - - markdown - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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


-

title: Markdown

-

Some Markdown

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Click here

-

- - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "md-helper",
-  "categories": [
-    "markdown",
-    "helper"
-  ],
-  "data": {
-    "title": "md helper",
-    "description": "Use the {{md}} helper to include external markdown files.",
-    "categories": [
-      "markdown",
-      "helper"
-    ],
-    "tags": [
-      "test",
-      "md",
-      "markdown"
-    ],
-    "items": [
-      "gamma",
-      "beta"
-    ]
-  },
-  "description": "Use the {{md}} helper to include external markdown files.",
-  "dest": "test/actual/collections/asc/md-helper.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "md-helper.html",
-  "first": false,
-  "index": 11,
-  "isCurrentPage": false,
-  "items": [
-    "gamma",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 12,
-  "number": 12,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{title}}

\n

{{description}}

\n
\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "md-helper.html", - "pagename": "md-helper.html", - "prev": 10, - "relativeLink": "md-helper.html", - "src": "test/fixtures/pages/md-helper.hbs", - "tags": [ - "test", - "md", - "markdown" - ], - "title": "md helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/no-yfm.html b/test/actual/collections/asc/no-yfm.html deleted file mode 100644 index 0570f97..0000000 --- a/test/actual/collections/asc/no-yfm.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/collections/asc/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/collections/asc/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - There is no YAML front matter in this page. - -
-
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/collections/asc/no-yfm.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": false,
-  "index": 12,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 13,
-  "number": 13,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "prev": 11, - "relativeLink": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/yfm-context.html b/test/actual/collections/asc/yfm-context.html deleted file mode 100644 index 27e753f..0000000 --- a/test/actual/collections/asc/yfm-context.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm-context.hbs

-

Page dest: test/actual/collections/asc/yfm-context.html

-

Dest filename: yfm-context.html

-

Dest basename: yfm-context

-

Page title: This title is from the YFM of the current page

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - yfm - - yaml - - context - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm-context",
-  "categories": [
-    "yfm",
-    "yaml",
-    "context"
-  ],
-  "data": {
-    "title": "This title is from the YFM of the current page",
-    "description": "This description is from the YFM of the current page",
-    "categories": [
-      "yfm",
-      "yaml",
-      "context"
-    ]
-  },
-  "description": "This description is from the YFM of the current page",
-  "dest": "test/actual/collections/asc/yfm-context.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "yfm-context.html",
-  "first": false,
-  "index": 13,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 14,
-  "number": 14,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

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

\n

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

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

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

\n

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

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

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

\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm-context.html", - "pagename": "yfm-context.html", - "prev": 12, - "relativeLink": "yfm-context.html", - "src": "test/fixtures/pages/yfm-context.hbs", - "title": "This title is from the YFM of the current page" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/asc/yfm.html b/test/actual/collections/asc/yfm.html deleted file mode 100644 index 442f7ed..0000000 --- a/test/actual/collections/asc/yfm.html +++ /dev/null @@ -1,1342 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: yfm.html

-

Dest basename: yfm

-

Page title: YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm",
-  "data": {
-    "title": "YFM",
-    "foo": "bar",
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "dest": "test/actual/collections/asc/yfm.html",
-  "dirname": "test/actual/collections/asc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/asc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/asc/"
-    }
-  },
-  "filename": "yfm.html",
-  "first": false,
-  "foo": "bar",
-  "index": 14,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": true,
-  "middle": false,
-  "number": 15,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm.html", - "pagename": "yfm.html", - "prev": 13, - "relativeLink": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs", - "title": "YFM" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/alert.html b/test/actual/collections/complex/alert.html deleted file mode 100644 index 6a83bbc..0000000 --- a/test/actual/collections/complex/alert.html +++ /dev/null @@ -1,1368 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: alert.html

-

Dest basename: alert

-

Page title: Title for "alert.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - components - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 2

-
-
- - - alert - - bootstrap - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Title for "alert.hbs"

-
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "alert",
-  "categories": [
-    "components"
-  ],
-  "data": {
-    "title": "Title for \"alert.hbs\"",
-    "one": {
-      "two": "This is an alert"
-    },
-    "categories": [
-      "components"
-    ],
-    "tags": [
-      "alert",
-      "bootstrap"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/complex/alert.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "alert.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "one": {
-    "two": "This is an alert"
-  },
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n

{{{title}}}

\n
{{{one.two}}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "alert.html", - "pagename": "alert.html", - "prev": 0, - "relativeLink": "alert.html", - "src": "test/fixtures/pages/alert.hbs", - "tags": [ - "alert", - "bootstrap" - ], - "title": "Title for \"alert.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/collections-categories.html b/test/actual/collections/complex/collections-categories.html deleted file mode 100644 index 7590ef9..0000000 --- a/test/actual/collections/complex/collections-categories.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-categories.html

-

Dest basename: collections-categories

-

Page title: Collections Categories

-
- -
-
-
- - - - -
-
-

categories on this page: 5

-
-
- - - collections - - categories - - one - - two - - three - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Categories

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-categories",
-  "categories": [
-    "collections",
-    "categories",
-    "one",
-    "two",
-    "three"
-  ],
-  "data": {
-    "title": "Collections Categories",
-    "categories": [
-      "collections",
-      "categories",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/complex/collections-categories.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "collections-categories.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Categories

\n
\n
\n {{#categories}}\n {{category}}\n {{/categories}}\n
\n
\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-categories.html", - "pagename": "collections-categories.html", - "prev": 6, - "relativeLink": "collections-categories.html", - "src": "test/fixtures/pages/collections-categories.hbs", - "title": "Collections Categories" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/collections-pages.html b/test/actual/collections/complex/collections-pages.html deleted file mode 100644 index 78038ab..0000000 --- a/test/actual/collections/complex/collections-pages.html +++ /dev/null @@ -1,1376 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-pages.html

-

Dest basename: collections-pages

-

Page title: Pages Collection

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

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

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

{{title}}

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-pages.html", - "pagename": "collections-pages.html", - "prev": 1, - "relativeLink": "collections-pages.html", - "src": "test/fixtures/pages/collections-pages.hbs", - "tags": [ - "pages" - ], - "title": "Pages Collection" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/collections-tags.html b/test/actual/collections/complex/collections-tags.html deleted file mode 100644 index ea95c0c..0000000 --- a/test/actual/collections/complex/collections-tags.html +++ /dev/null @@ -1,1392 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-tags.html

-

Dest basename: collections-tags

-

Page title: Tags Test

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 5

-
-
- - - tags - - collections - - one - - two - - three - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Tags

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-tags",
-  "data": {
-    "title": "Tags Test",
-    "tags": [
-      "tags",
-      "collections",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/complex/collections-tags.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "collections-tags.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Tags

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-tags.html", - "pagename": "collections-tags.html", - "prev": 2, - "relativeLink": "collections-tags.html", - "src": "test/fixtures/pages/collections-tags.hbs", - "tags": [ - "tags", - "collections", - "one", - "two", - "three" - ], - "title": "Tags Test" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/collections.html b/test/actual/collections/complex/collections.html deleted file mode 100644 index 605a038..0000000 --- a/test/actual/collections/complex/collections.html +++ /dev/null @@ -1,1453 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections.html

-

Dest basename: collections

-

Page title: Collections

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tags - - collections - - one - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -Collections -
    - -
  • alert
  • - -
  • bootstrap
  • - -
  • collections
  • - -
  • complex
  • - -
  • example
  • - -
  • examples
  • - -
  • markdown
  • - -
  • md
  • - -
  • one
  • - -
  • pages
  • - -
  • tags
  • - -
  • test
  • - -
  • tests
  • - -
  • three
  • - -
  • two
  • - -
- -
    - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
- -
    - -
  • debug-helpers
  • - -
  • alert
  • - -
  • collections-pages
  • - -
  • collections-tags
  • - -
  • collections
  • - -
  • complex
  • - -
  • context
  • - -
  • collections-categories
  • - -
  • example
  • - -
  • gist-helper
  • - -
  • lodash
  • - -
  • md-helper
  • - -
  • no-yfm
  • - -
  • yfm-context
  • - -
  • yfm
  • - -
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections",
-  "data": {
-    "title": "Collections",
-    "tags": [
-      "tags",
-      "collections",
-      "one"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/complex/collections.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "collections.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{title}}\n
    \n{{#tags}}\n
  • {{tag}}
  • \n{{/tags}}\n
\n\n
    \n{{#categories}}\n
  • {{categories}}
  • \n{{/categories}}\n
\n\n
    \n{{#pages}}\n\t
  • {{basename}}
  • \n{{/pages}}\n
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections.html", - "pagename": "collections.html", - "prev": 3, - "relativeLink": "collections.html", - "src": "test/fixtures/pages/collections.hbs", - "tags": [ - "tags", - "collections", - "one" - ], - "title": "Collections" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/complex.html b/test/actual/collections/complex/complex.html deleted file mode 100644 index a309567..0000000 --- a/test/actual/collections/complex/complex.html +++ /dev/null @@ -1,1369 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: complex.html

-

Dest basename: complex

-

Page title: Complex YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tests - - examples - - complex - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "complex",
-  "categories": [
-    "pages"
-  ],
-  "data": {
-    "title": "Complex YFM",
-    "foo": "bar",
-    "version": 2,
-    "categories": [
-      "pages"
-    ],
-    "tags": [
-      "tests",
-      "examples",
-      "complex"
-    ],
-    "items": [
-      "alpha",
-      "beta"
-    ]
-  },
-  "dest": "test/actual/collections/complex/complex.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "complex.html",
-  "first": false,
-  "foo": "bar",
-  "index": 5,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "complex.html", - "pagename": "complex.html", - "prev": 4, - "relativeLink": "complex.html", - "src": "test/fixtures/pages/complex.hbs", - "tags": [ - "tests", - "examples", - "complex" - ], - "title": "Complex YFM", - "version": 2 -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/context.html b/test/actual/collections/complex/context.html deleted file mode 100644 index 71dc0b9..0000000 --- a/test/actual/collections/complex/context.html +++ /dev/null @@ -1,1589 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: context.html

-

Dest basename: context

-

Page title: Context

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - context - - pages - - fixtures - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

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

- - - -
- - - -
- - - -
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "context",
-  "categories": [
-    "context",
-    "pages",
-    "fixtures"
-  ],
-  "data": {
-    "title": "Context",
-    "description": "The variables on this page are in shown in different contexts.",
-    "categories": [
-      "context",
-      "pages",
-      "fixtures"
-    ],
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "description": "The variables on this page are in shown in different contexts.",
-  "dest": "test/actual/collections/complex/context.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "context.html",
-  "first": false,
-  "index": 6,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "context.html", - "pagename": "context.html", - "prev": 5, - "relativeLink": "context.html", - "src": "test/fixtures/pages/context.hbs", - "title": "Context" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/debug-helpers.html b/test/actual/collections/complex/debug-helpers.html deleted file mode 100644 index 028778d..0000000 --- a/test/actual/collections/complex/debug-helpers.html +++ /dev/null @@ -1,1331 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/debug-helpers.hbs

-

Page dest: test/actual/collections/complex/debug-helpers.html

-

Dest filename: debug-helpers.html

-

Dest basename: debug-helpers

-

Page title: Debug Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{debug}} helper

-

Uncomment the debug helper below, run grunt assemble, and watch the output in the command line to see how it works.

- - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "debug-helpers",
-  "data": {
-    "title": "Debug Helper"
-  },
-  "dest": "test/actual/collections/complex/debug-helpers.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "debug-helpers.html",
-  "first": true,
-  "index": 0,
-  "last": false,
-  "middle": false,
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "debug-helpers.html", - "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs", - "title": "Debug Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/example.html b/test/actual/collections/complex/example.html deleted file mode 100644 index af6daff..0000000 --- a/test/actual/collections/complex/example.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: example.html

-

Dest basename: example

-

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

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/collections/complex/example.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "example.html",
-  "first": false,
-  "index": 8,
-  "isCurrentPage": false,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "example.html", - "pagename": "example.html", - "prev": 7, - "relativeLink": "example.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/gist-helper.html b/test/actual/collections/complex/gist-helper.html deleted file mode 100644 index ef6e08b..0000000 --- a/test/actual/collections/complex/gist-helper.html +++ /dev/null @@ -1,1334 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: gist-helper.html

-

Dest basename: gist-helper

-

Page title: Gist Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{gist}} helper

- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "gist-helper",
-  "data": {
-    "title": "Gist Helper"
-  },
-  "dest": "test/actual/collections/complex/gist-helper.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "gist-helper.html",
-  "first": false,
-  "index": 9,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 10,
-  "number": 10,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n# \\{{gist}} helper\n{{gist '5193239'}}\n\n{{/markdown}}\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "gist-helper.html", - "pagename": "gist-helper.html", - "prev": 8, - "relativeLink": "gist-helper.html", - "src": "test/fixtures/pages/gist-helper.hbs", - "title": "Gist Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/lodash.html b/test/actual/collections/complex/lodash.html deleted file mode 100644 index 25faa02..0000000 --- a/test/actual/collections/complex/lodash.html +++ /dev/null @@ -1,1335 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: lodash.html

-

Dest basename: lodash

-

Page title: Assemble

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Assemble

-

Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.

- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "lodash",
-  "data": {
-    "title": "Assemble",
-    "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages."
-  },
-  "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.",
-  "dest": "test/actual/collections/complex/lodash.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "lodash.html",
-  "first": false,
-  "index": 10,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 11,
-  "number": 11,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

{{title}}

\n

{{description}}

\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lodash.html", - "pagename": "lodash.html", - "prev": 9, - "relativeLink": "lodash.html", - "src": "test/fixtures/pages/lodash.hbs", - "title": "Assemble" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/md-helper.html b/test/actual/collections/complex/md-helper.html deleted file mode 100644 index 7a343e8..0000000 --- a/test/actual/collections/complex/md-helper.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: md-helper.html

-

Dest basename: md-helper

-

Page title: md helper

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - markdown - - helper - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - test - - md - - markdown - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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


-

title: Markdown

-

Some Markdown

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Click here

-

- - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "md-helper",
-  "categories": [
-    "markdown",
-    "helper"
-  ],
-  "data": {
-    "title": "md helper",
-    "description": "Use the {{md}} helper to include external markdown files.",
-    "categories": [
-      "markdown",
-      "helper"
-    ],
-    "tags": [
-      "test",
-      "md",
-      "markdown"
-    ],
-    "items": [
-      "gamma",
-      "beta"
-    ]
-  },
-  "description": "Use the {{md}} helper to include external markdown files.",
-  "dest": "test/actual/collections/complex/md-helper.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "md-helper.html",
-  "first": false,
-  "index": 11,
-  "isCurrentPage": false,
-  "items": [
-    "gamma",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 12,
-  "number": 12,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{title}}

\n

{{description}}

\n
\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "md-helper.html", - "pagename": "md-helper.html", - "prev": 10, - "relativeLink": "md-helper.html", - "src": "test/fixtures/pages/md-helper.hbs", - "tags": [ - "test", - "md", - "markdown" - ], - "title": "md helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/no-yfm.html b/test/actual/collections/complex/no-yfm.html deleted file mode 100644 index 252a3c7..0000000 --- a/test/actual/collections/complex/no-yfm.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/collections/complex/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/collections/complex/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - There is no YAML front matter in this page. - -
-
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/collections/complex/no-yfm.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": false,
-  "index": 12,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 13,
-  "number": 13,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "prev": 11, - "relativeLink": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/yfm-context.html b/test/actual/collections/complex/yfm-context.html deleted file mode 100644 index 71ea017..0000000 --- a/test/actual/collections/complex/yfm-context.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm-context.hbs

-

Page dest: test/actual/collections/complex/yfm-context.html

-

Dest filename: yfm-context.html

-

Dest basename: yfm-context

-

Page title: This title is from the YFM of the current page

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - yfm - - yaml - - context - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm-context",
-  "categories": [
-    "yfm",
-    "yaml",
-    "context"
-  ],
-  "data": {
-    "title": "This title is from the YFM of the current page",
-    "description": "This description is from the YFM of the current page",
-    "categories": [
-      "yfm",
-      "yaml",
-      "context"
-    ]
-  },
-  "description": "This description is from the YFM of the current page",
-  "dest": "test/actual/collections/complex/yfm-context.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "yfm-context.html",
-  "first": false,
-  "index": 13,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 14,
-  "number": 14,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

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

\n

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

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

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

\n

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

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

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

\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm-context.html", - "pagename": "yfm-context.html", - "prev": 12, - "relativeLink": "yfm-context.html", - "src": "test/fixtures/pages/yfm-context.hbs", - "title": "This title is from the YFM of the current page" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/complex/yfm.html b/test/actual/collections/complex/yfm.html deleted file mode 100644 index 59e8b19..0000000 --- a/test/actual/collections/complex/yfm.html +++ /dev/null @@ -1,1342 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: yfm.html

-

Dest basename: yfm

-

Page title: YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm",
-  "data": {
-    "title": "YFM",
-    "foo": "bar",
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "dest": "test/actual/collections/complex/yfm.html",
-  "dirname": "test/actual/collections/complex",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/complex/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/complex/"
-    }
-  },
-  "filename": "yfm.html",
-  "first": false,
-  "foo": "bar",
-  "index": 14,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": true,
-  "middle": false,
-  "number": 15,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm.html", - "pagename": "yfm.html", - "prev": 13, - "relativeLink": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs", - "title": "YFM" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/alert.html b/test/actual/collections/custom/alert.html deleted file mode 100644 index 803b8e7..0000000 --- a/test/actual/collections/custom/alert.html +++ /dev/null @@ -1,1368 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: alert.html

-

Dest basename: alert

-

Page title: Title for "alert.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - components - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 2

-
-
- - - alert - - bootstrap - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Title for "alert.hbs"

-
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "alert",
-  "categories": [
-    "components"
-  ],
-  "data": {
-    "title": "Title for \"alert.hbs\"",
-    "one": {
-      "two": "This is an alert"
-    },
-    "categories": [
-      "components"
-    ],
-    "tags": [
-      "alert",
-      "bootstrap"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/custom/alert.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "alert.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "one": {
-    "two": "This is an alert"
-  },
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n

{{{title}}}

\n
{{{one.two}}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "alert.html", - "pagename": "alert.html", - "prev": 0, - "relativeLink": "alert.html", - "src": "test/fixtures/pages/alert.hbs", - "tags": [ - "alert", - "bootstrap" - ], - "title": "Title for \"alert.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/collections-categories.html b/test/actual/collections/custom/collections-categories.html deleted file mode 100644 index d016231..0000000 --- a/test/actual/collections/custom/collections-categories.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-categories.html

-

Dest basename: collections-categories

-

Page title: Collections Categories

-
- -
-
-
- - - - -
-
-

categories on this page: 5

-
-
- - - collections - - categories - - one - - two - - three - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Categories

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-categories",
-  "categories": [
-    "collections",
-    "categories",
-    "one",
-    "two",
-    "three"
-  ],
-  "data": {
-    "title": "Collections Categories",
-    "categories": [
-      "collections",
-      "categories",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/custom/collections-categories.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "collections-categories.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Categories

\n
\n
\n {{#categories}}\n {{category}}\n {{/categories}}\n
\n
\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-categories.html", - "pagename": "collections-categories.html", - "prev": 6, - "relativeLink": "collections-categories.html", - "src": "test/fixtures/pages/collections-categories.hbs", - "title": "Collections Categories" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/collections-pages.html b/test/actual/collections/custom/collections-pages.html deleted file mode 100644 index ed28f4c..0000000 --- a/test/actual/collections/custom/collections-pages.html +++ /dev/null @@ -1,1376 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-pages.html

-

Dest basename: collections-pages

-

Page title: Pages Collection

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

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

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

{{title}}

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-pages.html", - "pagename": "collections-pages.html", - "prev": 1, - "relativeLink": "collections-pages.html", - "src": "test/fixtures/pages/collections-pages.hbs", - "tags": [ - "pages" - ], - "title": "Pages Collection" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/collections-tags.html b/test/actual/collections/custom/collections-tags.html deleted file mode 100644 index f298c98..0000000 --- a/test/actual/collections/custom/collections-tags.html +++ /dev/null @@ -1,1392 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-tags.html

-

Dest basename: collections-tags

-

Page title: Tags Test

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 5

-
-
- - - tags - - collections - - one - - two - - three - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Tags

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-tags",
-  "data": {
-    "title": "Tags Test",
-    "tags": [
-      "tags",
-      "collections",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/custom/collections-tags.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "collections-tags.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Tags

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-tags.html", - "pagename": "collections-tags.html", - "prev": 2, - "relativeLink": "collections-tags.html", - "src": "test/fixtures/pages/collections-tags.hbs", - "tags": [ - "tags", - "collections", - "one", - "two", - "three" - ], - "title": "Tags Test" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/collections.html b/test/actual/collections/custom/collections.html deleted file mode 100644 index b173a8c..0000000 --- a/test/actual/collections/custom/collections.html +++ /dev/null @@ -1,1453 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections.html

-

Dest basename: collections

-

Page title: Collections

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tags - - collections - - one - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -Collections -
    - -
  • alert
  • - -
  • bootstrap
  • - -
  • collections
  • - -
  • complex
  • - -
  • example
  • - -
  • examples
  • - -
  • markdown
  • - -
  • md
  • - -
  • one
  • - -
  • pages
  • - -
  • tags
  • - -
  • test
  • - -
  • tests
  • - -
  • three
  • - -
  • two
  • - -
- -
    - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
- -
    - -
  • debug-helpers
  • - -
  • alert
  • - -
  • collections-pages
  • - -
  • collections-tags
  • - -
  • collections
  • - -
  • complex
  • - -
  • context
  • - -
  • collections-categories
  • - -
  • example
  • - -
  • gist-helper
  • - -
  • lodash
  • - -
  • md-helper
  • - -
  • no-yfm
  • - -
  • yfm-context
  • - -
  • yfm
  • - -
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections",
-  "data": {
-    "title": "Collections",
-    "tags": [
-      "tags",
-      "collections",
-      "one"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/custom/collections.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "collections.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{title}}\n
    \n{{#tags}}\n
  • {{tag}}
  • \n{{/tags}}\n
\n\n
    \n{{#categories}}\n
  • {{categories}}
  • \n{{/categories}}\n
\n\n
    \n{{#pages}}\n\t
  • {{basename}}
  • \n{{/pages}}\n
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections.html", - "pagename": "collections.html", - "prev": 3, - "relativeLink": "collections.html", - "src": "test/fixtures/pages/collections.hbs", - "tags": [ - "tags", - "collections", - "one" - ], - "title": "Collections" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/complex.html b/test/actual/collections/custom/complex.html deleted file mode 100644 index 703e570..0000000 --- a/test/actual/collections/custom/complex.html +++ /dev/null @@ -1,1369 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: complex.html

-

Dest basename: complex

-

Page title: Complex YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tests - - examples - - complex - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "complex",
-  "categories": [
-    "pages"
-  ],
-  "data": {
-    "title": "Complex YFM",
-    "foo": "bar",
-    "version": 2,
-    "categories": [
-      "pages"
-    ],
-    "tags": [
-      "tests",
-      "examples",
-      "complex"
-    ],
-    "items": [
-      "alpha",
-      "beta"
-    ]
-  },
-  "dest": "test/actual/collections/custom/complex.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "complex.html",
-  "first": false,
-  "foo": "bar",
-  "index": 5,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "complex.html", - "pagename": "complex.html", - "prev": 4, - "relativeLink": "complex.html", - "src": "test/fixtures/pages/complex.hbs", - "tags": [ - "tests", - "examples", - "complex" - ], - "title": "Complex YFM", - "version": 2 -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/context.html b/test/actual/collections/custom/context.html deleted file mode 100644 index 5a57fe4..0000000 --- a/test/actual/collections/custom/context.html +++ /dev/null @@ -1,1589 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: context.html

-

Dest basename: context

-

Page title: Context

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - context - - pages - - fixtures - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

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

- - - -
- - - -
- - - -
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "context",
-  "categories": [
-    "context",
-    "pages",
-    "fixtures"
-  ],
-  "data": {
-    "title": "Context",
-    "description": "The variables on this page are in shown in different contexts.",
-    "categories": [
-      "context",
-      "pages",
-      "fixtures"
-    ],
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "description": "The variables on this page are in shown in different contexts.",
-  "dest": "test/actual/collections/custom/context.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "context.html",
-  "first": false,
-  "index": 6,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "context.html", - "pagename": "context.html", - "prev": 5, - "relativeLink": "context.html", - "src": "test/fixtures/pages/context.hbs", - "title": "Context" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/debug-helpers.html b/test/actual/collections/custom/debug-helpers.html deleted file mode 100644 index b756970..0000000 --- a/test/actual/collections/custom/debug-helpers.html +++ /dev/null @@ -1,1331 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/debug-helpers.hbs

-

Page dest: test/actual/collections/custom/debug-helpers.html

-

Dest filename: debug-helpers.html

-

Dest basename: debug-helpers

-

Page title: Debug Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{debug}} helper

-

Uncomment the debug helper below, run grunt assemble, and watch the output in the command line to see how it works.

- - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "debug-helpers",
-  "data": {
-    "title": "Debug Helper"
-  },
-  "dest": "test/actual/collections/custom/debug-helpers.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "debug-helpers.html",
-  "first": true,
-  "index": 0,
-  "last": false,
-  "middle": false,
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "debug-helpers.html", - "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs", - "title": "Debug Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/example.html b/test/actual/collections/custom/example.html deleted file mode 100644 index ff75587..0000000 --- a/test/actual/collections/custom/example.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: example.html

-

Dest basename: example

-

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

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/collections/custom/example.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "example.html",
-  "first": false,
-  "index": 8,
-  "isCurrentPage": false,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "example.html", - "pagename": "example.html", - "prev": 7, - "relativeLink": "example.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/gist-helper.html b/test/actual/collections/custom/gist-helper.html deleted file mode 100644 index e571cad..0000000 --- a/test/actual/collections/custom/gist-helper.html +++ /dev/null @@ -1,1334 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: gist-helper.html

-

Dest basename: gist-helper

-

Page title: Gist Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{gist}} helper

- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "gist-helper",
-  "data": {
-    "title": "Gist Helper"
-  },
-  "dest": "test/actual/collections/custom/gist-helper.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "gist-helper.html",
-  "first": false,
-  "index": 9,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 10,
-  "number": 10,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n# \\{{gist}} helper\n{{gist '5193239'}}\n\n{{/markdown}}\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "gist-helper.html", - "pagename": "gist-helper.html", - "prev": 8, - "relativeLink": "gist-helper.html", - "src": "test/fixtures/pages/gist-helper.hbs", - "title": "Gist Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/lodash.html b/test/actual/collections/custom/lodash.html deleted file mode 100644 index 9f5b0fb..0000000 --- a/test/actual/collections/custom/lodash.html +++ /dev/null @@ -1,1335 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: lodash.html

-

Dest basename: lodash

-

Page title: Assemble

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Assemble

-

Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.

- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "lodash",
-  "data": {
-    "title": "Assemble",
-    "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages."
-  },
-  "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.",
-  "dest": "test/actual/collections/custom/lodash.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "lodash.html",
-  "first": false,
-  "index": 10,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 11,
-  "number": 11,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

{{title}}

\n

{{description}}

\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lodash.html", - "pagename": "lodash.html", - "prev": 9, - "relativeLink": "lodash.html", - "src": "test/fixtures/pages/lodash.hbs", - "title": "Assemble" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/md-helper.html b/test/actual/collections/custom/md-helper.html deleted file mode 100644 index e1dac19..0000000 --- a/test/actual/collections/custom/md-helper.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: md-helper.html

-

Dest basename: md-helper

-

Page title: md helper

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - markdown - - helper - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - test - - md - - markdown - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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


-

title: Markdown

-

Some Markdown

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Click here

-

- - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "md-helper",
-  "categories": [
-    "markdown",
-    "helper"
-  ],
-  "data": {
-    "title": "md helper",
-    "description": "Use the {{md}} helper to include external markdown files.",
-    "categories": [
-      "markdown",
-      "helper"
-    ],
-    "tags": [
-      "test",
-      "md",
-      "markdown"
-    ],
-    "items": [
-      "gamma",
-      "beta"
-    ]
-  },
-  "description": "Use the {{md}} helper to include external markdown files.",
-  "dest": "test/actual/collections/custom/md-helper.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "md-helper.html",
-  "first": false,
-  "index": 11,
-  "isCurrentPage": false,
-  "items": [
-    "gamma",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 12,
-  "number": 12,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{title}}

\n

{{description}}

\n
\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "md-helper.html", - "pagename": "md-helper.html", - "prev": 10, - "relativeLink": "md-helper.html", - "src": "test/fixtures/pages/md-helper.hbs", - "tags": [ - "test", - "md", - "markdown" - ], - "title": "md helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/no-yfm.html b/test/actual/collections/custom/no-yfm.html deleted file mode 100644 index 274491a..0000000 --- a/test/actual/collections/custom/no-yfm.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/collections/custom/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/collections/custom/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - There is no YAML front matter in this page. - -
-
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/collections/custom/no-yfm.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": false,
-  "index": 12,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 13,
-  "number": 13,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "prev": 11, - "relativeLink": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/yfm-context.html b/test/actual/collections/custom/yfm-context.html deleted file mode 100644 index 0adaf75..0000000 --- a/test/actual/collections/custom/yfm-context.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm-context.hbs

-

Page dest: test/actual/collections/custom/yfm-context.html

-

Dest filename: yfm-context.html

-

Dest basename: yfm-context

-

Page title: This title is from the YFM of the current page

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - yfm - - yaml - - context - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm-context",
-  "categories": [
-    "yfm",
-    "yaml",
-    "context"
-  ],
-  "data": {
-    "title": "This title is from the YFM of the current page",
-    "description": "This description is from the YFM of the current page",
-    "categories": [
-      "yfm",
-      "yaml",
-      "context"
-    ]
-  },
-  "description": "This description is from the YFM of the current page",
-  "dest": "test/actual/collections/custom/yfm-context.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "yfm-context.html",
-  "first": false,
-  "index": 13,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 14,
-  "number": 14,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

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

\n

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

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

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

\n

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

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

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

\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm-context.html", - "pagename": "yfm-context.html", - "prev": 12, - "relativeLink": "yfm-context.html", - "src": "test/fixtures/pages/yfm-context.hbs", - "title": "This title is from the YFM of the current page" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/custom/yfm.html b/test/actual/collections/custom/yfm.html deleted file mode 100644 index 324d35f..0000000 --- a/test/actual/collections/custom/yfm.html +++ /dev/null @@ -1,1342 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: yfm.html

-

Dest basename: yfm

-

Page title: YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm",
-  "data": {
-    "title": "YFM",
-    "foo": "bar",
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "dest": "test/actual/collections/custom/yfm.html",
-  "dirname": "test/actual/collections/custom",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/custom/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/custom/"
-    }
-  },
-  "filename": "yfm.html",
-  "first": false,
-  "foo": "bar",
-  "index": 14,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": true,
-  "middle": false,
-  "number": 15,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm.html", - "pagename": "yfm.html", - "prev": 13, - "relativeLink": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs", - "title": "YFM" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/alert.html b/test/actual/collections/desc/alert.html deleted file mode 100644 index 41f568e..0000000 --- a/test/actual/collections/desc/alert.html +++ /dev/null @@ -1,1368 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: alert.html

-

Dest basename: alert

-

Page title: Title for "alert.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - components - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 2

-
-
- - - alert - - bootstrap - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Title for "alert.hbs"

-
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "alert",
-  "categories": [
-    "components"
-  ],
-  "data": {
-    "title": "Title for \"alert.hbs\"",
-    "one": {
-      "two": "This is an alert"
-    },
-    "categories": [
-      "components"
-    ],
-    "tags": [
-      "alert",
-      "bootstrap"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/desc/alert.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "alert.html",
-  "first": false,
-  "index": 13,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 14,
-  "number": 14,
-  "one": {
-    "two": "This is an alert"
-  },
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n

{{{title}}}

\n
{{{one.two}}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "alert.html", - "pagename": "alert.html", - "prev": 12, - "relativeLink": "alert.html", - "src": "test/fixtures/pages/alert.hbs", - "tags": [ - "alert", - "bootstrap" - ], - "title": "Title for \"alert.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/collections-categories.html b/test/actual/collections/desc/collections-categories.html deleted file mode 100644 index 2991354..0000000 --- a/test/actual/collections/desc/collections-categories.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-categories.html

-

Dest basename: collections-categories

-

Page title: Collections Categories

-
- -
-
-
- - - - -
-
-

categories on this page: 5

-
-
- - - collections - - categories - - one - - two - - three - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Categories

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-categories",
-  "categories": [
-    "collections",
-    "categories",
-    "one",
-    "two",
-    "three"
-  ],
-  "data": {
-    "title": "Collections Categories",
-    "categories": [
-      "collections",
-      "categories",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/desc/collections-categories.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "collections-categories.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Categories

\n
\n
\n {{#categories}}\n {{category}}\n {{/categories}}\n
\n
\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-categories.html", - "pagename": "collections-categories.html", - "prev": 6, - "relativeLink": "collections-categories.html", - "src": "test/fixtures/pages/collections-categories.hbs", - "title": "Collections Categories" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/collections-pages.html b/test/actual/collections/desc/collections-pages.html deleted file mode 100644 index f5b5fa6..0000000 --- a/test/actual/collections/desc/collections-pages.html +++ /dev/null @@ -1,1376 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-pages.html

-

Dest basename: collections-pages

-

Page title: Pages Collection

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-pages",
-  "data": {
-    "title": "Pages Collection",
-    "tags": [
-      "pages"
-    ]
-  },
-  "dest": "test/actual/collections/desc/collections-pages.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "collections-pages.html",
-  "first": false,
-  "index": 12,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 13,
-  "number": 13,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

{{title}}

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-pages.html", - "pagename": "collections-pages.html", - "prev": 11, - "relativeLink": "collections-pages.html", - "src": "test/fixtures/pages/collections-pages.hbs", - "tags": [ - "pages" - ], - "title": "Pages Collection" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/collections-tags.html b/test/actual/collections/desc/collections-tags.html deleted file mode 100644 index c46a148..0000000 --- a/test/actual/collections/desc/collections-tags.html +++ /dev/null @@ -1,1392 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections-tags.html

-

Dest basename: collections-tags

-

Page title: Tags Test

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 5

-
-
- - - tags - - collections - - one - - two - - three - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Tags

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

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections-tags",
-  "data": {
-    "title": "Tags Test",
-    "tags": [
-      "tags",
-      "collections",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "dest": "test/actual/collections/desc/collections-tags.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "collections-tags.html",
-  "first": false,
-  "index": 11,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 12,
-  "number": 12,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Tags

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-tags.html", - "pagename": "collections-tags.html", - "prev": 10, - "relativeLink": "collections-tags.html", - "src": "test/fixtures/pages/collections-tags.hbs", - "tags": [ - "tags", - "collections", - "one", - "two", - "three" - ], - "title": "Tags Test" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/collections.html b/test/actual/collections/desc/collections.html deleted file mode 100644 index 284910c..0000000 --- a/test/actual/collections/desc/collections.html +++ /dev/null @@ -1,1453 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: collections.html

-

Dest basename: collections

-

Page title: Collections

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tags - - collections - - one - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: tests
- - -
Related pages for: test
- - -
Related pages for: tags
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: md
- - -
Related pages for: markdown
- - -
Related pages for: examples
- - -
Related pages for: example
- - -
Related pages for: complex
- - -
Related pages for: collections
- - -
Related pages for: bootstrap
- - -
Related pages for: alert
- - -
-
- - -
-
- -
- - -Collections -
    - -
  • two
  • - -
  • three
  • - -
  • tests
  • - -
  • test
  • - -
  • tags
  • - -
  • pages
  • - -
  • one
  • - -
  • md
  • - -
  • markdown
  • - -
  • examples
  • - -
  • example
  • - -
  • complex
  • - -
  • collections
  • - -
  • bootstrap
  • - -
  • alert
  • - -
- -
    - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
- -
    - -
  • yfm
  • - -
  • yfm-context
  • - -
  • no-yfm
  • - -
  • md-helper
  • - -
  • lodash
  • - -
  • gist-helper
  • - -
  • example
  • - -
  • collections-categories
  • - -
  • context
  • - -
  • complex
  • - -
  • collections
  • - -
  • collections-tags
  • - -
  • collections-pages
  • - -
  • alert
  • - -
  • debug-helpers
  • - -
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "collections",
-  "data": {
-    "title": "Collections",
-    "tags": [
-      "tags",
-      "collections",
-      "one"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/collections/desc/collections.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "collections.html",
-  "first": false,
-  "index": 10,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 11,
-  "number": 11,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{title}}\n
    \n{{#tags}}\n
  • {{tag}}
  • \n{{/tags}}\n
\n\n
    \n{{#categories}}\n
  • {{categories}}
  • \n{{/categories}}\n
\n\n
    \n{{#pages}}\n\t
  • {{basename}}
  • \n{{/pages}}\n
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections.html", - "pagename": "collections.html", - "prev": 9, - "relativeLink": "collections.html", - "src": "test/fixtures/pages/collections.hbs", - "tags": [ - "tags", - "collections", - "one" - ], - "title": "Collections" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/complex.html b/test/actual/collections/desc/complex.html deleted file mode 100644 index 1100715..0000000 --- a/test/actual/collections/desc/complex.html +++ /dev/null @@ -1,1369 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: complex.html

-

Dest basename: complex

-

Page title: Complex YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - tests - - examples - - complex - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: tests
- - -
Related pages for: test
- - -
Related pages for: tags
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: md
- - -
Related pages for: markdown
- - -
Related pages for: examples
- - -
Related pages for: example
- - -
Related pages for: complex
- - -
Related pages for: collections
- - -
Related pages for: bootstrap
- - -
Related pages for: alert
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "complex",
-  "categories": [
-    "pages"
-  ],
-  "data": {
-    "title": "Complex YFM",
-    "foo": "bar",
-    "version": 2,
-    "categories": [
-      "pages"
-    ],
-    "tags": [
-      "tests",
-      "examples",
-      "complex"
-    ],
-    "items": [
-      "alpha",
-      "beta"
-    ]
-  },
-  "dest": "test/actual/collections/desc/complex.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "complex.html",
-  "first": false,
-  "foo": "bar",
-  "index": 9,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 10,
-  "number": 10,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "complex.html", - "pagename": "complex.html", - "prev": 8, - "relativeLink": "complex.html", - "src": "test/fixtures/pages/complex.hbs", - "tags": [ - "tests", - "examples", - "complex" - ], - "title": "Complex YFM", - "version": 2 -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/context.html b/test/actual/collections/desc/context.html deleted file mode 100644 index 44fa228..0000000 --- a/test/actual/collections/desc/context.html +++ /dev/null @@ -1,1589 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: context.html

-

Dest basename: context

-

Page title: Context

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - context - - pages - - fixtures - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

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

- - - -
- - - -
- - - -
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "context",
-  "categories": [
-    "context",
-    "pages",
-    "fixtures"
-  ],
-  "data": {
-    "title": "Context",
-    "description": "The variables on this page are in shown in different contexts.",
-    "categories": [
-      "context",
-      "pages",
-      "fixtures"
-    ],
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "description": "The variables on this page are in shown in different contexts.",
-  "dest": "test/actual/collections/desc/context.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "context.html",
-  "first": false,
-  "index": 8,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n

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

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

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "context.html", - "pagename": "context.html", - "prev": 7, - "relativeLink": "context.html", - "src": "test/fixtures/pages/context.hbs", - "title": "Context" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/debug-helpers.html b/test/actual/collections/desc/debug-helpers.html deleted file mode 100644 index 4dfc358..0000000 --- a/test/actual/collections/desc/debug-helpers.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/debug-helpers.hbs

-

Page dest: test/actual/collections/desc/debug-helpers.html

-

Dest filename: debug-helpers.html

-

Dest basename: debug-helpers

-

Page title: Debug Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{debug}} helper

-

Uncomment the debug helper below, run grunt assemble, and watch the output in the command line to see how it works.

- - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "debug-helpers",
-  "data": {
-    "title": "Debug Helper"
-  },
-  "dest": "test/actual/collections/desc/debug-helpers.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "debug-helpers.html",
-  "first": false,
-  "index": 14,
-  "isCurrentPage": false,
-  "last": true,
-  "middle": false,
-  "number": 15,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "debug-helpers.html", - "pagename": "debug-helpers.html", - "prev": 13, - "relativeLink": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs", - "title": "Debug Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/example.html b/test/actual/collections/desc/example.html deleted file mode 100644 index a2dc109..0000000 --- a/test/actual/collections/desc/example.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: example.html

-

Dest basename: example

-

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

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

-
-
- -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: tests
- - -
Related pages for: test
- - -
Related pages for: tags
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: md
- - -
Related pages for: markdown
- - -
Related pages for: examples
- - -
Related pages for: example
- - -
Related pages for: complex
- - -
Related pages for: collections
- - -
Related pages for: bootstrap
- - -
Related pages for: alert
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/collections/desc/example.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "example.html",
-  "first": false,
-  "index": 6,
-  "isCurrentPage": false,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "example.html", - "pagename": "example.html", - "prev": 5, - "relativeLink": "example.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/gist-helper.html b/test/actual/collections/desc/gist-helper.html deleted file mode 100644 index 85e4f37..0000000 --- a/test/actual/collections/desc/gist-helper.html +++ /dev/null @@ -1,1334 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: gist-helper.html

-

Dest basename: gist-helper

-

Page title: Gist Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

{{gist}} helper

- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "gist-helper",
-  "data": {
-    "title": "Gist Helper"
-  },
-  "dest": "test/actual/collections/desc/gist-helper.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "gist-helper.html",
-  "first": false,
-  "index": 5,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n# \\{{gist}} helper\n{{gist '5193239'}}\n\n{{/markdown}}\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "gist-helper.html", - "pagename": "gist-helper.html", - "prev": 4, - "relativeLink": "gist-helper.html", - "src": "test/fixtures/pages/gist-helper.hbs", - "title": "Gist Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/lodash.html b/test/actual/collections/desc/lodash.html deleted file mode 100644 index 776fb39..0000000 --- a/test/actual/collections/desc/lodash.html +++ /dev/null @@ -1,1335 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: lodash.html

-

Dest basename: lodash

-

Page title: Assemble

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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

Assemble

-

Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.

- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "lodash",
-  "data": {
-    "title": "Assemble",
-    "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages."
-  },
-  "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.",
-  "dest": "test/actual/collections/desc/lodash.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "lodash.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

{{title}}

\n

{{description}}

\n\n\n
\n

Content

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

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lodash.html", - "pagename": "lodash.html", - "prev": 3, - "relativeLink": "lodash.html", - "src": "test/fixtures/pages/lodash.hbs", - "title": "Assemble" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/md-helper.html b/test/actual/collections/desc/md-helper.html deleted file mode 100644 index 50f6a59..0000000 --- a/test/actual/collections/desc/md-helper.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

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

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

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

-

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

-

Dest filename: md-helper.html

-

Dest basename: md-helper

-

Page title: md helper

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - markdown - - helper - - -
-
- -
- -
-
-

All categories: 13

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

Pages related to each category

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

Tags on this page: 3

-
-
- - - test - - md - - markdown - - -
-
- -
- -
-
-

All tags: 15

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

Pages related to each tag

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


-

title: Markdown

-

Some Markdown

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Click here

-

- - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "md-helper",
-  "categories": [
-    "markdown",
-    "helper"
-  ],
-  "data": {
-    "title": "md helper",
-    "description": "Use the {{md}} helper to include external markdown files.",
-    "categories": [
-      "markdown",
-      "helper"
-    ],
-    "tags": [
-      "test",
-      "md",
-      "markdown"
-    ],
-    "items": [
-      "gamma",
-      "beta"
-    ]
-  },
-  "description": "Use the {{md}} helper to include external markdown files.",
-  "dest": "test/actual/collections/desc/md-helper.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "md-helper.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "items": [
-    "gamma",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

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

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

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

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

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

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{title}}

\n

{{description}}

\n
\n\n

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

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

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "md-helper.html", - "pagename": "md-helper.html", - "prev": 2, - "relativeLink": "md-helper.html", - "src": "test/fixtures/pages/md-helper.hbs", - "tags": [ - "test", - "md", - "markdown" - ], - "title": "md helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/no-yfm.html b/test/actual/collections/desc/no-yfm.html deleted file mode 100644 index 9fb6cc1..0000000 --- a/test/actual/collections/desc/no-yfm.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/collections/desc/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/collections/desc/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - yfm - - yaml - - two - - three - - pages - - one - - markdown - - helper - - fixtures - - context - - components - - collections - - categories - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: yfm
- - -
Related pages for: yaml
- - -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: markdown
- - -
Related pages for: helper
- - -
Related pages for: fixtures
- - -
Related pages for: context
- - -
Related pages for: components
- - -
Related pages for: collections
- - -
Related pages for: categories
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - two - - three - - tests - - test - - tags - - pages - - one - - md - - markdown - - examples - - example - - complex - - collections - - bootstrap - - alert - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: tests
- - -
Related pages for: test
- - -
Related pages for: tags
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: md
- - -
Related pages for: markdown
- - -
Related pages for: examples
- - -
Related pages for: example
- - -
Related pages for: complex
- - -
Related pages for: collections
- - -
Related pages for: bootstrap
- - -
Related pages for: alert
- - -
-
- - -
-
- -
- - There is no YAML front matter in this page. - -
-
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/collections/desc/no-yfm.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": false,
-  "index": 2,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 3,
-  "number": 3,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "prev": 1, - "relativeLink": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/yfm-context.html b/test/actual/collections/desc/yfm-context.html deleted file mode 100644 index c574312..0000000 --- a/test/actual/collections/desc/yfm-context.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm-context.hbstest/actual/collections/desc/yfm-context.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm-context.hbs

-

Page dest: test/actual/collections/desc/yfm-context.html

-

Dest filename: yfm-context.html

-

Dest basename: yfm-context

-

Page title: This title is from the YFM of the current page

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - yfm - - yaml - - context - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - yfm - - yaml - - two - - three - - pages - - one - - markdown - - helper - - fixtures - - context - - components - - collections - - categories - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: yfm
- - -
Related pages for: yaml
- - -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: markdown
- - -
Related pages for: helper
- - -
Related pages for: fixtures
- - -
Related pages for: context
- - -
Related pages for: components
- - -
Related pages for: collections
- - -
Related pages for: categories
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - two - - three - - tests - - test - - tags - - pages - - one - - md - - markdown - - examples - - example - - complex - - collections - - bootstrap - - alert - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: tests
- - -
Related pages for: test
- - -
Related pages for: tags
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: md
- - -
Related pages for: markdown
- - -
Related pages for: examples
- - -
Related pages for: example
- - -
Related pages for: complex
- - -
Related pages for: collections
- - -
Related pages for: bootstrap
- - -
Related pages for: alert
- - -
-
- - -
-
- -
- - - - - -
- - - -
- - - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm-context",
-  "categories": [
-    "yfm",
-    "yaml",
-    "context"
-  ],
-  "data": {
-    "title": "This title is from the YFM of the current page",
-    "description": "This description is from the YFM of the current page",
-    "categories": [
-      "yfm",
-      "yaml",
-      "context"
-    ]
-  },
-  "description": "This description is from the YFM of the current page",
-  "dest": "test/actual/collections/desc/yfm-context.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "yfm-context.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{{default home.title \"Title from home.json didn't render.\"}}}

\n

{{{default home.description \"Description from home.json didn't render.\"}}}

\n
\n\n
\n\n
\n

{{{default page.title \"page.title didn't render.\"}}}

\n

{{{default page.description \"page.description didn't render.\"}}}

\n
\n\n
\n\n
\n

{{{default title \"title didn't render.\"}}}

\n

{{{default description \"description didn't render.\"}}}

\n
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm-context.html", - "pagename": "yfm-context.html", - "prev": 0, - "relativeLink": "yfm-context.html", - "src": "test/fixtures/pages/yfm-context.hbs", - "title": "This title is from the YFM of the current page" -} -
-
-
-
-
-
- - - diff --git a/test/actual/collections/desc/yfm.html b/test/actual/collections/desc/yfm.html deleted file mode 100644 index 10b3f2b..0000000 --- a/test/actual/collections/desc/yfm.html +++ /dev/null @@ -1,1340 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm.hbstest/actual/collections/desc/yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm.hbs

-

Page dest: test/actual/collections/desc/yfm.html

-

Dest filename: yfm.html

-

Dest basename: yfm

-

Page title: YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - yfm - - yaml - - two - - three - - pages - - one - - markdown - - helper - - fixtures - - context - - components - - collections - - categories - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: yfm
- - -
Related pages for: yaml
- - -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: markdown
- - -
Related pages for: helper
- - -
Related pages for: fixtures
- - -
Related pages for: context
- - -
Related pages for: components
- - -
Related pages for: collections
- - -
Related pages for: categories
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - two - - three - - tests - - test - - tags - - pages - - one - - md - - markdown - - examples - - example - - complex - - collections - - bootstrap - - alert - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: two
- - -
Related pages for: three
- - -
Related pages for: tests
- - -
Related pages for: test
- - -
Related pages for: tags
- - -
Related pages for: pages
- - -
Related pages for: one
- - -
Related pages for: md
- - -
Related pages for: markdown
- - -
Related pages for: examples
- - -
Related pages for: example
- - -
Related pages for: complex
- - -
Related pages for: collections
- - -
Related pages for: bootstrap
- - -
Related pages for: alert
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../../assets",
-  "basename": "yfm",
-  "data": {
-    "title": "YFM",
-    "foo": "bar",
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "dest": "test/actual/collections/desc/yfm.html",
-  "dirname": "test/actual/collections/desc",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/collections/desc/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/collections/desc/"
-    }
-  },
-  "filename": "yfm.html",
-  "first": true,
-  "foo": "bar",
-  "index": 0,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": false,
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm.html", - "pagename": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs", - "title": "YFM" -} -
-
-
-
-
-
- - - diff --git a/test/actual/custom_helpers/bar.html b/test/actual/custom_helpers/bar.html deleted file mode 100644 index db6346f..0000000 --- a/test/actual/custom_helpers/bar.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - Custom Helpers example - - -

Example using the bar helper

- - - - diff --git a/test/actual/custom_helpers/foo.html b/test/actual/custom_helpers/foo.html deleted file mode 100644 index ee0cb67..0000000 --- a/test/actual/custom_helpers/foo.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Custom Helpers example - - -

Example using the foo helper

- - - diff --git a/test/actual/custom_helpers/opt.html b/test/actual/custom_helpers/opt.html deleted file mode 100644 index ee4da9a..0000000 --- a/test/actual/custom_helpers/opt.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Custom Helpers example - - -

Example using the "opt" helper

-
Version: grunt-assemble
- - diff --git a/test/actual/globlayout/multi.html b/test/actual/globlayout/multi.html deleted file mode 100644 index 8d903f0..0000000 --- a/test/actual/globlayout/multi.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - Layout name: 'layout-globlayout.hbs' - - - - -
-
-

Layout: layout-globlayout.hbs

-

Template: test/fixtures/pages/globlayout/globlayout.hbs

-

layout one

- -

Layout: layout-globlayout.hbs

-

This is some random content before the body of the actual page.

- - -

Hello: Using a glob layout

- -

This is some random content after the body of the actual page.

-

Layout: layout-globlayout.hbs

- -

layout one

-
- - - \ No newline at end of file diff --git a/test/actual/globlayout/simple.html b/test/actual/globlayout/simple.html deleted file mode 100644 index 8d903f0..0000000 --- a/test/actual/globlayout/simple.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - Layout name: 'layout-globlayout.hbs' - - - - -
-
-

Layout: layout-globlayout.hbs

-

Template: test/fixtures/pages/globlayout/globlayout.hbs

-

layout one

- -

Layout: layout-globlayout.hbs

-

This is some random content before the body of the actual page.

- - -

Hello: Using a glob layout

- -

This is some random content after the body of the actual page.

-

Layout: layout-globlayout.hbs

- -

layout one

-
- - - \ No newline at end of file diff --git a/test/actual/layout_ext/layoutext.html b/test/actual/layout_ext/layoutext.html deleted file mode 100644 index 7c9d09f..0000000 --- a/test/actual/layout_ext/layoutext.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - Layout name: 'noext' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: noext

-

Template: test/fixtures/pages/layoutext/layoutext.hbs

-
- -

options.layoutext

-

Allows a layout to be defined without an extension

-
-
-
-
- - - \ No newline at end of file diff --git a/test/actual/nested_layouts/deep-nested-layouts.html b/test/actual/nested_layouts/deep-nested-layouts.html deleted file mode 100644 index 32da94f..0000000 --- a/test/actual/nested_layouts/deep-nested-layouts.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - Layout name: 'three.hbs' - - - - -
-
-

Layout: three.hbs

-

Template: test/fixtures/pages/nested/deep-nested-layouts.hbs

-

layout one

- -

Layout: three.hbs

-

This is some random content before the body of the actual page.

- - -

Layout: three.hbs

-

This is some random content before the body of the actual page.

- - -

Hello: Three layouts deep

- -

This is some random content after the body of the actual page.

-

Layout: three.hbs

- - -

This is some random content after the body of the actual page.

-

Layout: three.hbs

- -

layout one

-
- - - \ No newline at end of file diff --git a/test/actual/nested_layouts/nested-layouts.html b/test/actual/nested_layouts/nested-layouts.html deleted file mode 100644 index 8649cb8..0000000 --- a/test/actual/nested_layouts/nested-layouts.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - Layout name: 'two.hbs' - - - - -
-
-

Layout: two.hbs

-

Template: test/fixtures/pages/nested/nested-layouts.hbs

-

layout one

- -

Layout: two.hbs

-

This is some random content before the body of the actual page.

- - -

Hello: Home Page

- -

This is some random content after the body of the actual page.

-

Layout: two.hbs

- -

layout one

-
- - - \ No newline at end of file diff --git a/test/actual/no_layout/no-layout-none.html b/test/actual/no_layout/no-layout-none.html deleted file mode 100644 index 6dfaadf..0000000 --- a/test/actual/no_layout/no-layout-none.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Has no layout - - -
Page with layout: 'none' defined.
- - diff --git a/test/actual/no_layout/no-layout.html b/test/actual/no_layout/no-layout.html deleted file mode 100644 index 704a985..0000000 --- a/test/actual/no_layout/no-layout.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Has no layout - - -
Page with layout: false defined.
- - diff --git a/test/actual/not_real.html b/test/actual/not_real.html deleted file mode 100644 index 6a6c511..0000000 --- a/test/actual/not_real.html +++ /dev/null @@ -1,3 +0,0 @@ - - -Blah blah. \ No newline at end of file diff --git a/test/actual/noyfm/no-yfm.html b/test/actual/noyfm/no-yfm.html deleted file mode 100644 index 3322f09..0000000 --- a/test/actual/noyfm/no-yfm.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/noyfm/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/noyfm/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- - There is no YAML front matter in this page. - -
Variable number one
-
Variable number two
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/noyfm/no-yfm.html",
-  "dirname": "test/actual/noyfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/no-yfm.hbs"
-    ],
-    "dest": "test/actual/noyfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/no-yfm.hbs"
-      ],
-      "dest": "test/actual/noyfm/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": true,
-  "index": 0,
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/pages_array/index.html b/test/actual/pages_array/index.html deleted file mode 100644 index f6659aa..0000000 --- a/test/actual/pages_array/index.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - Layout name: 'test/fixtures/pages/blog/index.hbs' | Layout: - - - - - -
-
-
- -
- -
- -
-
-
-

Template: test/fixtures/pages/blog/index.hbs

-

Layout:

-
- - - - -
-
-

Blog Post #1

-
- - - -
- - - -
-
-

Blog Post #2

-
- - - - - -
- - - -
-
-

Blog Post #3

-
- - - -
- - -
-
-
-
- - - diff --git a/test/actual/pages_array/post1.html b/test/actual/pages_array/post1.html deleted file mode 100644 index d553f33..0000000 --- a/test/actual/pages_array/post1.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: post1

-
- - - - This "content" property is optional and would get passed into the `body` tag. But if you only need to pass the page"s metadata to the layout then the content property is unnecessary. -
-
-
-
- - - - diff --git a/test/actual/pages_array/post2.html b/test/actual/pages_array/post2.html deleted file mode 100644 index 4a1beb5..0000000 --- a/test/actual/pages_array/post2.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: post2

-
- - - - - -

Blog Post #2 | A Blog

-
ALERT! This is an alert message. >
This project is brought to you by grunt-assemble. -
-
-
-
- - - - diff --git a/test/actual/pages_array/post3.html b/test/actual/pages_array/post3.html deleted file mode 100644 index df040fe..0000000 --- a/test/actual/pages_array/post3.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: post3

-
- - - - -
-
-
-
- - - - diff --git a/test/actual/pages_metadata/index.html b/test/actual/pages_metadata/index.html deleted file mode 100644 index 2b5d873..0000000 --- a/test/actual/pages_metadata/index.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - Layout name: 'test/fixtures/pages/blog/index.hbs' | Layout: - - - - - -
-
-
- -
- -
- -
-
-
-

Template: test/fixtures/pages/blog/index.hbs

-

Layout:

-
- - - - -
-
-

Sweet Blog Post #1

-
- - - -
- - - -
-
-

Awesome Blog Post #2

-
- - - - - -
- - - -
-
-

Super Sweet and Awesome Blog Post #3

-
- - - -
- - -
-
-
-
- - - diff --git a/test/actual/pages_metadata/meta-awesome-blog-post-2.html b/test/actual/pages_metadata/meta-awesome-blog-post-2.html deleted file mode 100644 index 38cabdf..0000000 --- a/test/actual/pages_metadata/meta-awesome-blog-post-2.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: meta-awesome-blog-post-2

-
- - - - - -

Awesome Blog Post #2 | Another Blog with Meta

-
ALERT! This is an alert message. >
This project is brought to you by grunt-assemble. -
-
-
-
- - - - diff --git a/test/actual/pages_metadata/meta-super-sweet-and-awesome-blog-post-3.html b/test/actual/pages_metadata/meta-super-sweet-and-awesome-blog-post-3.html deleted file mode 100644 index 10d6778..0000000 --- a/test/actual/pages_metadata/meta-super-sweet-and-awesome-blog-post-3.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: meta-super-sweet-and-awesome-blog-post-3

-
- - - - -
-
-
-
- - - - diff --git a/test/actual/pages_metadata/meta-sweet-blog-post-1.html b/test/actual/pages_metadata/meta-sweet-blog-post-1.html deleted file mode 100644 index e1eb4ed..0000000 --- a/test/actual/pages_metadata/meta-sweet-blog-post-1.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: meta-sweet-blog-post-1

-
- - - - This 'content' property is optional and would get passed into the `body` tag. But if you only need to pass the page"s metadata to the layout then the content property is unnecessary. -
-
-
-
- - - - diff --git a/test/actual/pages_object/awesome-blog-post-2.html b/test/actual/pages_object/awesome-blog-post-2.html deleted file mode 100644 index e08d261..0000000 --- a/test/actual/pages_object/awesome-blog-post-2.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: awesome-blog-post-2

-
- - - - - -

Awesome Blog Post #2 | Another Blog

-
ALERT! This is an alert message. >
This project is brought to you by grunt-assemble. -
-
-
-
- - - - diff --git a/test/actual/pages_object/index.html b/test/actual/pages_object/index.html deleted file mode 100644 index 8d857da..0000000 --- a/test/actual/pages_object/index.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - Layout name: 'test/fixtures/pages/blog/index.hbs' | Layout: - - - - - -
-
-
- -
- -
- -
-
-
-

Template: test/fixtures/pages/blog/index.hbs

-

Layout:

-
- - - - -
-
-

Sweet Blog Post #1

-
- - - -
- - - -
-
-

Awesome Blog Post #2

-
- - - - - -
- - - -
-
-

Super Sweet and Awesome Blog Post #3

-
- - - -
- - -
-
-
-
- - - diff --git a/test/actual/pages_object/super-sweet-and-awesome-blog-post-3.html b/test/actual/pages_object/super-sweet-and-awesome-blog-post-3.html deleted file mode 100644 index 4f7737e..0000000 --- a/test/actual/pages_object/super-sweet-and-awesome-blog-post-3.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: super-sweet-and-awesome-blog-post-3

-
- - - - -
-
-
-
- - - - diff --git a/test/actual/pages_object/sweet-blog-post-1.html b/test/actual/pages_object/sweet-blog-post-1.html deleted file mode 100644 index ed5cfda..0000000 --- a/test/actual/pages_object/sweet-blog-post-1.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Layout name: '' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: No layout was used.

-

Template: sweet-blog-post-1

-
- - - - This 'content' property is optional and would get passed into the `body` tag. But if you only need to pass the page"s metadata to the layout then the content property is unnecessary. -
-
-
-
- - - - diff --git a/test/actual/paths/alert.html b/test/actual/paths/alert.html deleted file mode 100644 index f3b8280..0000000 --- a/test/actual/paths/alert.html +++ /dev/null @@ -1,1368 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/alert.hbstest/actual/paths/alert.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/alert.hbs

-

Page dest: test/actual/paths/alert.html

-

Dest filename: alert.html

-

Dest basename: alert

-

Page title: Title for "alert.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - components - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 2

-
-
- - - alert - - bootstrap - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -

Title for "alert.hbs"

-
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "alert",
-  "categories": [
-    "components"
-  ],
-  "data": {
-    "title": "Title for \"alert.hbs\"",
-    "one": {
-      "two": "This is an alert"
-    },
-    "categories": [
-      "components"
-    ],
-    "tags": [
-      "alert",
-      "bootstrap"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/paths/alert.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "alert.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "one": {
-    "two": "This is an alert"
-  },
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n

{{{title}}}

\n
{{{one.two}}}
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "alert.html", - "pagename": "alert.html", - "prev": 0, - "relativeLink": "alert.html", - "src": "test/fixtures/pages/alert.hbs", - "tags": [ - "alert", - "bootstrap" - ], - "title": "Title for \"alert.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/collections-categories.html b/test/actual/paths/collections-categories.html deleted file mode 100644 index 42bc4c8..0000000 --- a/test/actual/paths/collections-categories.html +++ /dev/null @@ -1,1403 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections-categories.hbstest/actual/paths/collections-categories.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/collections-categories.hbs

-

Page dest: test/actual/paths/collections-categories.html

-

Dest filename: collections-categories.html

-

Dest basename: collections-categories

-

Page title: Collections Categories

-
- -
-
-
- - - - -
-
-

categories on this page: 5

-
-
- - - collections - - categories - - one - - two - - three - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 4

-
-
- - - categories - - collections - - tags - - pages - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -
-
-

Categories

-
-
- - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - -
-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections-categories",
-  "categories": [
-    "collections",
-    "categories",
-    "one",
-    "two",
-    "three"
-  ],
-  "data": {
-    "title": "Collections Categories",
-    "categories": [
-      "collections",
-      "categories",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "description": "Different ways to use categories collections.",
-  "dest": "test/actual/paths/collections-categories.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "collections-categories.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Categories

\n
\n
\n {{#categories}}\n {{category}}\n {{/categories}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-categories.html", - "pagename": "collections-categories.html", - "prev": 6, - "relativeLink": "collections-categories.html", - "src": "test/fixtures/pages/collections-categories.hbs", - "tags": [ - "categories", - "collections", - "tags", - "pages" - ], - "title": "Collections Categories" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/collections-pages.html b/test/actual/paths/collections-pages.html deleted file mode 100644 index 15e7382..0000000 --- a/test/actual/paths/collections-pages.html +++ /dev/null @@ -1,1376 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections-pages.hbstest/actual/paths/collections-pages.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/collections-pages.hbs

-

Page dest: test/actual/paths/collections-pages.html

-

Dest filename: collections-pages.html

-

Dest basename: collections-pages

-

Page title: Pages Collection

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections-pages",
-  "data": {
-    "title": "Pages Collection",
-    "tags": [
-      "pages"
-    ]
-  },
-  "dest": "test/actual/paths/collections-pages.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "collections-pages.html",
-  "first": false,
-  "index": 2,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 3,
-  "number": 3,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

{{title}}

\n
\n
\n {{#each pages}}\n {{{data.title}}}\n {{/each}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-pages.html", - "pagename": "collections-pages.html", - "prev": 1, - "relativeLink": "collections-pages.html", - "src": "test/fixtures/pages/collections-pages.hbs", - "tags": [ - "pages" - ], - "title": "Pages Collection" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/collections-tags.html b/test/actual/paths/collections-tags.html deleted file mode 100644 index 8532f2a..0000000 --- a/test/actual/paths/collections-tags.html +++ /dev/null @@ -1,1393 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections-tags.hbstest/actual/paths/collections-tags.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/collections-tags.hbs

-

Page dest: test/actual/paths/collections-tags.html

-

Dest filename: collections-tags.html

-

Dest basename: collections-tags

-

Page title: Tags Test

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 5

-
-
- - - tags - - collections - - one - - two - - three - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -
-
-

Tags

-
-
- - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - -
-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections-tags",
-  "data": {
-    "title": "Tags Test",
-    "tags": [
-      "tags",
-      "collections",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "description": "Different ways to use tags collections.",
-  "dest": "test/actual/paths/collections-tags.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "collections-tags.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Tags

\n
\n
\n {{#tags}}\n {{tag}}\n {{/tags}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-tags.html", - "pagename": "collections-tags.html", - "prev": 2, - "relativeLink": "collections-tags.html", - "src": "test/fixtures/pages/collections-tags.hbs", - "tags": [ - "tags", - "collections", - "one", - "two", - "three" - ], - "title": "Tags Test" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/collections.html b/test/actual/paths/collections.html deleted file mode 100644 index 14f48b0..0000000 --- a/test/actual/paths/collections.html +++ /dev/null @@ -1,1453 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections.hbstest/actual/paths/collections.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/collections.hbs

-

Page dest: test/actual/paths/collections.html

-

Dest filename: collections.html

-

Dest basename: collections

-

Page title: Collections

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 3

-
-
- - - tags - - collections - - one - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -Collections -
    - -
  • alert
  • - -
  • bootstrap
  • - -
  • collections
  • - -
  • complex
  • - -
  • example
  • - -
  • examples
  • - -
  • markdown
  • - -
  • md
  • - -
  • one
  • - -
  • pages
  • - -
  • tags
  • - -
  • test
  • - -
  • tests
  • - -
  • three
  • - -
  • two
  • - -
- -
    - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
- -
    - -
  • debug-helpers
  • - -
  • alert
  • - -
  • collections-pages
  • - -
  • collections-tags
  • - -
  • collections
  • - -
  • complex
  • - -
  • context
  • - -
  • collections-categories
  • - -
  • example
  • - -
  • gist-helper
  • - -
  • lodash
  • - -
  • md-helper
  • - -
  • no-yfm
  • - -
  • yfm-context
  • - -
  • yfm
  • - -
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections",
-  "data": {
-    "title": "Collections",
-    "tags": [
-      "tags",
-      "collections",
-      "one"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/paths/collections.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "collections.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{title}}\n
    \n{{#tags}}\n
  • {{tag}}
  • \n{{/tags}}\n
\n\n
    \n{{#categories}}\n
  • {{categories}}
  • \n{{/categories}}\n
\n\n
    \n{{#pages}}\n\t
  • {{basename}}
  • \n{{/pages}}\n
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections.html", - "pagename": "collections.html", - "prev": 3, - "relativeLink": "collections.html", - "src": "test/fixtures/pages/collections.hbs", - "tags": [ - "tags", - "collections", - "one" - ], - "title": "Collections" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/complex.html b/test/actual/paths/complex.html deleted file mode 100644 index 5918537..0000000 --- a/test/actual/paths/complex.html +++ /dev/null @@ -1,1369 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/complex.hbstest/actual/paths/complex.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/complex.hbs

-

Page dest: test/actual/paths/complex.html

-

Dest filename: complex.html

-

Dest basename: complex

-

Page title: Complex YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 3

-
-
- - - tests - - examples - - complex - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "complex",
-  "categories": [
-    "pages"
-  ],
-  "data": {
-    "title": "Complex YFM",
-    "foo": "bar",
-    "version": 2,
-    "categories": [
-      "pages"
-    ],
-    "tags": [
-      "tests",
-      "examples",
-      "complex"
-    ],
-    "items": [
-      "alpha",
-      "beta"
-    ]
-  },
-  "dest": "test/actual/paths/complex.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "complex.html",
-  "first": false,
-  "foo": "bar",
-  "index": 5,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "complex.html", - "pagename": "complex.html", - "prev": 4, - "relativeLink": "complex.html", - "src": "test/fixtures/pages/complex.hbs", - "tags": [ - "tests", - "examples", - "complex" - ], - "title": "Complex YFM", - "version": 2 -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/context.html b/test/actual/paths/context.html deleted file mode 100644 index 9177d01..0000000 --- a/test/actual/paths/context.html +++ /dev/null @@ -1,1589 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/context.hbstest/actual/paths/context.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/context.hbs

-

Page dest: test/actual/paths/context.html

-

Dest filename: context.html

-

Dest basename: context

-

Page title: Context

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - context - - pages - - fixtures - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - -

If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

- - - -
- - - -
- - - -
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "context",
-  "categories": [
-    "context",
-    "pages",
-    "fixtures"
-  ],
-  "data": {
-    "title": "Context",
-    "description": "The variables on this page are in shown in different contexts.",
-    "categories": [
-      "context",
-      "pages",
-      "fixtures"
-    ],
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "description": "The variables on this page are in shown in different contexts.",
-  "dest": "test/actual/paths/context.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "context.html",
-  "first": false,
-  "index": 6,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n

If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

\n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "context.html", - "pagename": "context.html", - "prev": 5, - "relativeLink": "context.html", - "src": "test/fixtures/pages/context.hbs", - "title": "Context" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/debug-helpers.html b/test/actual/paths/debug-helpers.html deleted file mode 100644 index 393bc64..0000000 --- a/test/actual/paths/debug-helpers.html +++ /dev/null @@ -1,1331 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/debug-helpers.hbstest/actual/paths/debug-helpers.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/debug-helpers.hbs

-

Page dest: test/actual/paths/debug-helpers.html

-

Dest filename: debug-helpers.html

-

Dest basename: debug-helpers

-

Page title: Debug Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -

{{debug}} helper

-

Uncomment the debug helper below, run grunt assemble, and watch the output in the command line to see how it works.

- - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "debug-helpers",
-  "data": {
-    "title": "Debug Helper"
-  },
-  "dest": "test/actual/paths/debug-helpers.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "debug-helpers.html",
-  "first": true,
-  "index": 0,
-  "last": false,
-  "middle": false,
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "debug-helpers.html", - "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs", - "title": "Debug Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/example.html b/test/actual/paths/example.html deleted file mode 100644 index d4cbf25..0000000 --- a/test/actual/paths/example.html +++ /dev/null @@ -1,1372 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/example.hbstest/actual/paths/example.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/example.hbs

-

Page dest: test/actual/paths/example.html

-

Dest filename: example.html

-

Dest basename: example

-

Page title: Title from YFM of "example.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
This is text from example.json.
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/paths/example.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "example.html",
-  "first": false,
-  "index": 8,
-  "info": "Congratulations! This is data from example.yml.",
-  "isCurrentPage": false,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "example.html", - "pagename": "example.html", - "prev": 7, - "relativeLink": "example.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "text": "This is text from example.json.", - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/gist-helper.html b/test/actual/paths/gist-helper.html deleted file mode 100644 index f6a5c34..0000000 --- a/test/actual/paths/gist-helper.html +++ /dev/null @@ -1,1334 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/gist-helper.hbstest/actual/paths/gist-helper.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/gist-helper.hbs

-

Page dest: test/actual/paths/gist-helper.html

-

Dest filename: gist-helper.html

-

Dest basename: gist-helper

-

Page title: Gist Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -

{{gist}} helper

- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "gist-helper",
-  "data": {
-    "title": "Gist Helper"
-  },
-  "dest": "test/actual/paths/gist-helper.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "gist-helper.html",
-  "first": false,
-  "index": 9,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 10,
-  "number": 10,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n# \\{{gist}} helper\n{{gist '5193239'}}\n\n{{/markdown}}\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "gist-helper.html", - "pagename": "gist-helper.html", - "prev": 8, - "relativeLink": "gist-helper.html", - "src": "test/fixtures/pages/gist-helper.hbs", - "title": "Gist Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/lodash.html b/test/actual/paths/lodash.html deleted file mode 100644 index 93471d3..0000000 --- a/test/actual/paths/lodash.html +++ /dev/null @@ -1,1335 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/lodash.hbstest/actual/paths/lodash.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/lodash.hbs

-

Page dest: test/actual/paths/lodash.html

-

Dest filename: lodash.html

-

Dest basename: lodash

-

Page title: Assemble

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -

Assemble

-

Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.

- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "lodash",
-  "data": {
-    "title": "Assemble",
-    "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages."
-  },
-  "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.",
-  "dest": "test/actual/paths/lodash.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "lodash.html",
-  "first": false,
-  "index": 10,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 11,
-  "number": 11,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

{{title}}

\n

{{description}}

\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lodash.html", - "pagename": "lodash.html", - "prev": 9, - "relativeLink": "lodash.html", - "src": "test/fixtures/pages/lodash.hbs", - "title": "Assemble" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/md-helper.html b/test/actual/paths/md-helper.html deleted file mode 100644 index edb9858..0000000 --- a/test/actual/paths/md-helper.html +++ /dev/null @@ -1,1388 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/md-helper.hbstest/actual/paths/md-helper.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/md-helper.hbs

-

Page dest: test/actual/paths/md-helper.html

-

Dest filename: md-helper.html

-

Dest basename: md-helper

-

Page title: md helper

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - markdown - - helper - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 3

-
-
- - - test - - md - - markdown - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - - -


-

title: Markdown

-

Some Markdown

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Click here

-

- - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "md-helper",
-  "categories": [
-    "markdown",
-    "helper"
-  ],
-  "data": {
-    "title": "md helper",
-    "description": "Use the {{md}} helper to include external markdown files.",
-    "categories": [
-      "markdown",
-      "helper"
-    ],
-    "tags": [
-      "test",
-      "md",
-      "markdown"
-    ],
-    "items": [
-      "gamma",
-      "beta"
-    ]
-  },
-  "description": "Use the {{md}} helper to include external markdown files.",
-  "dest": "test/actual/paths/md-helper.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "md-helper.html",
-  "first": false,
-  "index": 11,
-  "isCurrentPage": false,
-  "items": [
-    "gamma",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 12,
-  "number": 12,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{title}}

\n

{{description}}

\n
\n\n

{{{md './test/fixtures/pages/md.md'}}}

\n\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "md-helper.html", - "pagename": "md-helper.html", - "prev": 10, - "relativeLink": "md-helper.html", - "src": "test/fixtures/pages/md-helper.hbs", - "tags": [ - "test", - "md", - "markdown" - ], - "title": "md helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/no-yfm.html b/test/actual/paths/no-yfm.html deleted file mode 100644 index 1985fec..0000000 --- a/test/actual/paths/no-yfm.html +++ /dev/null @@ -1,1333 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/paths/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/paths/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - There is no YAML front matter in this page. - -
Variable number one
-
Variable number two
- - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/paths/no-yfm.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": false,
-  "index": 12,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 13,
-  "number": 13,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "prev": 11, - "relativeLink": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/yfm-context.html b/test/actual/paths/yfm-context.html deleted file mode 100644 index 4d83452..0000000 --- a/test/actual/paths/yfm-context.html +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm-context.hbstest/actual/paths/yfm-context.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm-context.hbs

-

Page dest: test/actual/paths/yfm-context.html

-

Dest filename: yfm-context.html

-

Dest basename: yfm-context

-

Page title: This title is from the YFM of the current page

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - yfm - - yaml - - context - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - - -
- - - -
- - - - - - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "yfm-context",
-  "categories": [
-    "yfm",
-    "yaml",
-    "context"
-  ],
-  "data": {
-    "title": "This title is from the YFM of the current page",
-    "description": "This description is from the YFM of the current page",
-    "categories": [
-      "yfm",
-      "yaml",
-      "context"
-    ]
-  },
-  "description": "This description is from the YFM of the current page",
-  "dest": "test/actual/paths/yfm-context.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "yfm-context.html",
-  "first": false,
-  "index": 13,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 14,
-  "number": 14,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{{default home.title \"Title from home.json didn't render.\"}}}

\n

{{{default home.description \"Description from home.json didn't render.\"}}}

\n
\n\n
\n\n
\n

{{{default page.title \"page.title didn't render.\"}}}

\n

{{{default page.description \"page.description didn't render.\"}}}

\n
\n\n
\n\n
\n

{{{default title \"title didn't render.\"}}}

\n

{{{default description \"description didn't render.\"}}}

\n
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm-context.html", - "pagename": "yfm-context.html", - "prev": 12, - "relativeLink": "yfm-context.html", - "src": "test/fixtures/pages/yfm-context.hbs", - "title": "This title is from the YFM of the current page" -} -
-
-
-
-
-
- - - diff --git a/test/actual/paths/yfm.html b/test/actual/paths/yfm.html deleted file mode 100644 index 9b91ce3..0000000 --- a/test/actual/paths/yfm.html +++ /dev/null @@ -1,1342 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm.hbstest/actual/paths/yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm.hbs

-

Page dest: test/actual/paths/yfm.html

-

Dest filename: yfm.html

-

Dest basename: yfm

-

Page title: YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "yfm",
-  "data": {
-    "title": "YFM",
-    "foo": "bar",
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "dest": "test/actual/paths/yfm.html",
-  "dirname": "test/actual/paths",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/paths/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/paths/"
-    }
-  },
-  "filename": "yfm.html",
-  "first": false,
-  "foo": "bar",
-  "index": 14,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": true,
-  "middle": false,
-  "number": 15,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm.html", - "pagename": "yfm.html", - "prev": 13, - "relativeLink": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs", - "title": "YFM" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_after.html b/test/actual/plugin_after.html deleted file mode 100644 index 57891b1..0000000 --- a/test/actual/plugin_after.html +++ /dev/null @@ -1 +0,0 @@ -AFTER OVERWRITE 1 \ No newline at end of file diff --git a/test/actual/plugin_before.html b/test/actual/plugin_before.html deleted file mode 100644 index 718c39e..0000000 --- a/test/actual/plugin_before.html +++ /dev/null @@ -1,3 +0,0 @@ - - -BEFORE TITLE 1 \ No newline at end of file diff --git a/test/actual/plugin_pre_page.html b/test/actual/plugin_pre_page.html deleted file mode 100644 index ac390bd..0000000 --- a/test/actual/plugin_pre_page.html +++ /dev/null @@ -1 +0,0 @@ -W00T!!! \ No newline at end of file diff --git a/test/actual/plugin_preprocess/alert.html b/test/actual/plugin_preprocess/alert.html deleted file mode 100644 index baf5d9f..0000000 --- a/test/actual/plugin_preprocess/alert.html +++ /dev/null @@ -1,1424 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/alert.hbstest/actual/plugin_preprocess/alert.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/alert.hbs

-

Page dest: test/actual/plugin_preprocess/alert.html

-

Dest filename: alert.html

-

Dest basename: alert

-

Page title: Title for "alert.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - components - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 2

-
-
- - - alert - - bootstrap - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -

Title for "alert.hbs"

-
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "alert",
-  "categories": [
-    "components"
-  ],
-  "data": {
-    "title": "Title for \"alert.hbs\"",
-    "one": {
-      "two": "This is an alert"
-    },
-    "categories": [
-      "components"
-    ],
-    "tags": [
-      "alert",
-      "bootstrap"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/plugin_preprocess/alert.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "alert.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "one": {
-    "two": "This is an alert"
-  },
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n

{{{title}}}

\n
{{{one.two}}}
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "alert.html", - "pagename": "alert.html", - "prev": 0, - "relativeLink": "alert.html", - "src": "test/fixtures/pages/alert.hbs", - "tags": [ - "alert", - "bootstrap" - ], - "title": "Title for \"alert.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/collections-categories.html b/test/actual/plugin_preprocess/collections-categories.html deleted file mode 100644 index 49cd5f1..0000000 --- a/test/actual/plugin_preprocess/collections-categories.html +++ /dev/null @@ -1,1459 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections-categories.hbstest/actual/plugin_preprocess/collections-categories.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/collections-categories.hbs

-

Page dest: test/actual/plugin_preprocess/collections-categories.html

-

Dest filename: collections-categories.html

-

Dest basename: collections-categories

-

Page title: Collections Categories

-
- -
-
-
- - - - -
-
-

categories on this page: 5

-
-
- - - collections - - categories - - one - - two - - three - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 4

-
-
- - - categories - - collections - - tags - - pages - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -
-
-

Categories

-
-
- - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - -
-
- -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections-categories",
-  "categories": [
-    "collections",
-    "categories",
-    "one",
-    "two",
-    "three"
-  ],
-  "data": {
-    "title": "Collections Categories",
-    "categories": [
-      "collections",
-      "categories",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "description": "Different ways to use categories collections.",
-  "dest": "test/actual/plugin_preprocess/collections-categories.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "collections-categories.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Categories

\n
\n
\n {{#categories}}\n {{category}}\n {{/categories}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-categories.html", - "pagename": "collections-categories.html", - "prev": 6, - "relativeLink": "collections-categories.html", - "src": "test/fixtures/pages/collections-categories.hbs", - "tags": [ - "categories", - "collections", - "tags", - "pages" - ], - "title": "Collections Categories" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/collections-pages.html b/test/actual/plugin_preprocess/collections-pages.html deleted file mode 100644 index d33da31..0000000 --- a/test/actual/plugin_preprocess/collections-pages.html +++ /dev/null @@ -1,1432 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections-pages.hbstest/actual/plugin_preprocess/collections-pages.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/collections-pages.hbs

-

Page dest: test/actual/plugin_preprocess/collections-pages.html

-

Dest filename: collections-pages.html

-

Dest basename: collections-pages

-

Page title: Pages Collection

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections-pages",
-  "data": {
-    "title": "Pages Collection",
-    "tags": [
-      "pages"
-    ]
-  },
-  "dest": "test/actual/plugin_preprocess/collections-pages.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "collections-pages.html",
-  "first": false,
-  "index": 2,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 3,
-  "number": 3,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

{{title}}

\n
\n
\n {{#each pages}}\n {{{data.title}}}\n {{/each}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-pages.html", - "pagename": "collections-pages.html", - "prev": 1, - "relativeLink": "collections-pages.html", - "src": "test/fixtures/pages/collections-pages.hbs", - "tags": [ - "pages" - ], - "title": "Pages Collection" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/collections-tags.html b/test/actual/plugin_preprocess/collections-tags.html deleted file mode 100644 index 6216a8c..0000000 --- a/test/actual/plugin_preprocess/collections-tags.html +++ /dev/null @@ -1,1449 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections-tags.hbstest/actual/plugin_preprocess/collections-tags.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/collections-tags.hbs

-

Page dest: test/actual/plugin_preprocess/collections-tags.html

-

Dest filename: collections-tags.html

-

Dest basename: collections-tags

-

Page title: Tags Test

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 5

-
-
- - - tags - - collections - - one - - two - - three - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -
-
-

Tags

-
-
- - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - -
-
- -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections-tags",
-  "data": {
-    "title": "Tags Test",
-    "tags": [
-      "tags",
-      "collections",
-      "one",
-      "two",
-      "three"
-    ]
-  },
-  "description": "Different ways to use tags collections.",
-  "dest": "test/actual/plugin_preprocess/collections-tags.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "collections-tags.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n
\n

Tags

\n
\n
\n {{#tags}}\n {{tag}}\n {{/tags}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections-tags.html", - "pagename": "collections-tags.html", - "prev": 2, - "relativeLink": "collections-tags.html", - "src": "test/fixtures/pages/collections-tags.hbs", - "tags": [ - "tags", - "collections", - "one", - "two", - "three" - ], - "title": "Tags Test" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/collections.html b/test/actual/plugin_preprocess/collections.html deleted file mode 100644 index d66437e..0000000 --- a/test/actual/plugin_preprocess/collections.html +++ /dev/null @@ -1,1509 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/collections.hbstest/actual/plugin_preprocess/collections.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/collections.hbs

-

Page dest: test/actual/plugin_preprocess/collections.html

-

Dest filename: collections.html

-

Dest basename: collections

-

Page title: Collections

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 3

-
-
- - - tags - - collections - - one - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -Collections -
    - -
  • alert
  • - -
  • bootstrap
  • - -
  • collections
  • - -
  • complex
  • - -
  • example
  • - -
  • examples
  • - -
  • markdown
  • - -
  • md
  • - -
  • one
  • - -
  • pages
  • - -
  • tags
  • - -
  • test
  • - -
  • tests
  • - -
  • three
  • - -
  • two
  • - -
- -
    - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
  • - -
- -
    - -
  • debug-helpers
  • - -
  • alert
  • - -
  • collections-pages
  • - -
  • collections-tags
  • - -
  • collections
  • - -
  • complex
  • - -
  • context
  • - -
  • collections-categories
  • - -
  • example
  • - -
  • gist-helper
  • - -
  • lodash
  • - -
  • md-helper
  • - -
  • no-yfm
  • - -
  • yfm-context
  • - -
  • yfm
  • - -
- - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "collections",
-  "data": {
-    "title": "Collections",
-    "tags": [
-      "tags",
-      "collections",
-      "one"
-    ],
-    "items": [
-      "collections",
-      "custom"
-    ]
-  },
-  "dest": "test/actual/plugin_preprocess/collections.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "collections.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "items": [
-    "collections",
-    "custom"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{title}}\n
    \n{{#tags}}\n
  • {{tag}}
  • \n{{/tags}}\n
\n\n
    \n{{#categories}}\n
  • {{categories}}
  • \n{{/categories}}\n
\n\n
    \n{{#pages}}\n\t
  • {{basename}}
  • \n{{/pages}}\n
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "collections.html", - "pagename": "collections.html", - "prev": 3, - "relativeLink": "collections.html", - "src": "test/fixtures/pages/collections.hbs", - "tags": [ - "tags", - "collections", - "one" - ], - "title": "Collections" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/complex.html b/test/actual/plugin_preprocess/complex.html deleted file mode 100644 index 1d59ab4..0000000 --- a/test/actual/plugin_preprocess/complex.html +++ /dev/null @@ -1,1425 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/complex.hbstest/actual/plugin_preprocess/complex.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/complex.hbs

-

Page dest: test/actual/plugin_preprocess/complex.html

-

Dest filename: complex.html

-

Dest basename: complex

-

Page title: Complex YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 1

-
-
- - - pages - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 3

-
-
- - - tests - - examples - - complex - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "complex",
-  "categories": [
-    "pages"
-  ],
-  "data": {
-    "title": "Complex YFM",
-    "foo": "bar",
-    "version": 2,
-    "categories": [
-      "pages"
-    ],
-    "tags": [
-      "tests",
-      "examples",
-      "complex"
-    ],
-    "items": [
-      "alpha",
-      "beta"
-    ]
-  },
-  "dest": "test/actual/plugin_preprocess/complex.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "complex.html",
-  "first": false,
-  "foo": "bar",
-  "index": 5,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "complex.html", - "pagename": "complex.html", - "prev": 4, - "relativeLink": "complex.html", - "src": "test/fixtures/pages/complex.hbs", - "tags": [ - "tests", - "examples", - "complex" - ], - "title": "Complex YFM", - "version": 2 -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/context.html b/test/actual/plugin_preprocess/context.html deleted file mode 100644 index d2ddba9..0000000 --- a/test/actual/plugin_preprocess/context.html +++ /dev/null @@ -1,1645 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/context.hbstest/actual/plugin_preprocess/context.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/context.hbs

-

Page dest: test/actual/plugin_preprocess/context.html

-

Dest filename: context.html

-

Dest basename: context

-

Page title: Context

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - context - - pages - - fixtures - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - -

If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

- - - -
- - - -
- - - -
- - - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "context",
-  "categories": [
-    "context",
-    "pages",
-    "fixtures"
-  ],
-  "data": {
-    "title": "Context",
-    "description": "The variables on this page are in shown in different contexts.",
-    "categories": [
-      "context",
-      "pages",
-      "fixtures"
-    ],
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "description": "The variables on this page are in shown in different contexts.",
-  "dest": "test/actual/plugin_preprocess/context.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "context.html",
-  "first": false,
-  "index": 6,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n\n

If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

\n\n\n\n
\n\n\n\n
\n\n\n\n
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "context.html", - "pagename": "context.html", - "prev": 5, - "relativeLink": "context.html", - "src": "test/fixtures/pages/context.hbs", - "title": "Context" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/debug-helpers.html b/test/actual/plugin_preprocess/debug-helpers.html deleted file mode 100644 index cf219a8..0000000 --- a/test/actual/plugin_preprocess/debug-helpers.html +++ /dev/null @@ -1,1387 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/debug-helpers.hbstest/actual/plugin_preprocess/debug-helpers.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/debug-helpers.hbs

-

Page dest: test/actual/plugin_preprocess/debug-helpers.html

-

Dest filename: debug-helpers.html

-

Dest basename: debug-helpers

-

Page title: Debug Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -

{{debug}} helper

-

Uncomment the debug helper below, run grunt assemble, and watch the output in the command line to see how it works.

- - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "debug-helpers",
-  "data": {
-    "title": "Debug Helper"
-  },
-  "dest": "test/actual/plugin_preprocess/debug-helpers.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "debug-helpers.html",
-  "first": true,
-  "index": 0,
-  "last": false,
-  "middle": false,
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n### \\{{debug}} helper\nUncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works.\n{{!debug text}}\n\n{{/markdown}}\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "debug-helpers.html", - "pagename": "debug-helpers.html", - "src": "test/fixtures/pages/debug-helpers.hbs", - "title": "Debug Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/example.html b/test/actual/plugin_preprocess/example.html deleted file mode 100644 index 07a827b..0000000 --- a/test/actual/plugin_preprocess/example.html +++ /dev/null @@ -1,1428 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/example.hbstest/actual/plugin_preprocess/example.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/example.hbs

-

Page dest: test/actual/plugin_preprocess/example.html

-

Dest filename: example.html

-

Dest basename: example

-

Page title: Title from YFM of "example.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
This is text from example.json.
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/plugin_preprocess/example.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "example.html",
-  "first": false,
-  "index": 8,
-  "info": "Congratulations! This is data from example.yml.",
-  "isCurrentPage": false,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "example.html", - "pagename": "example.html", - "prev": 7, - "relativeLink": "example.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "text": "This is text from example.json.", - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/gist-helper.html b/test/actual/plugin_preprocess/gist-helper.html deleted file mode 100644 index c128545..0000000 --- a/test/actual/plugin_preprocess/gist-helper.html +++ /dev/null @@ -1,1390 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/gist-helper.hbstest/actual/plugin_preprocess/gist-helper.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/gist-helper.hbs

-

Page dest: test/actual/plugin_preprocess/gist-helper.html

-

Dest filename: gist-helper.html

-

Dest basename: gist-helper

-

Page title: Gist Helper

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -

{{gist}} helper

- - - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "gist-helper",
-  "data": {
-    "title": "Gist Helper"
-  },
-  "dest": "test/actual/plugin_preprocess/gist-helper.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "gist-helper.html",
-  "first": false,
-  "index": 9,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 10,
-  "number": 10,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n{{#markdown}}\n\n# \\{{gist}} helper\n{{gist '5193239'}}\n\n{{/markdown}}\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "gist-helper.html", - "pagename": "gist-helper.html", - "prev": 8, - "relativeLink": "gist-helper.html", - "src": "test/fixtures/pages/gist-helper.hbs", - "title": "Gist Helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/lodash.html b/test/actual/plugin_preprocess/lodash.html deleted file mode 100644 index 91db74e..0000000 --- a/test/actual/plugin_preprocess/lodash.html +++ /dev/null @@ -1,1391 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/lodash.hbstest/actual/plugin_preprocess/lodash.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/lodash.hbs

-

Page dest: test/actual/plugin_preprocess/lodash.html

-

Dest filename: lodash.html

-

Dest basename: lodash

-

Page title: Assemble

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - -

Assemble

-

Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.

- - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "lodash",
-  "data": {
-    "title": "Assemble",
-    "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages."
-  },
-  "description": "Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt, Less.js / lesscss.org, Topcoat, Web Experience Toolkit, and hundreds of other projects to build sites, themes, components, documentation, blogs and gh-pages.",
-  "dest": "test/actual/plugin_preprocess/lodash.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "lodash.html",
-  "first": false,
-  "index": 10,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 11,
-  "number": 11,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

{{title}}

\n

{{description}}

\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lodash.html", - "pagename": "lodash.html", - "prev": 9, - "relativeLink": "lodash.html", - "src": "test/fixtures/pages/lodash.hbs", - "title": "Assemble" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/md-helper.html b/test/actual/plugin_preprocess/md-helper.html deleted file mode 100644 index 231216f..0000000 --- a/test/actual/plugin_preprocess/md-helper.html +++ /dev/null @@ -1,1444 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/md-helper.hbstest/actual/plugin_preprocess/md-helper.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/md-helper.hbs

-

Page dest: test/actual/plugin_preprocess/md-helper.html

-

Dest filename: md-helper.html

-

Dest basename: md-helper

-

Page title: md helper

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - markdown - - helper - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 3

-
-
- - - test - - md - - markdown - - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - - -


-

title: Markdown

-

Some Markdown

-
    -
  • one
  • -
  • two
  • -
  • three
  • -
-

Click here

-

- - - - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "md-helper",
-  "categories": [
-    "markdown",
-    "helper"
-  ],
-  "data": {
-    "title": "md helper",
-    "description": "Use the {{md}} helper to include external markdown files.",
-    "categories": [
-      "markdown",
-      "helper"
-    ],
-    "tags": [
-      "test",
-      "md",
-      "markdown"
-    ],
-    "items": [
-      "gamma",
-      "beta"
-    ]
-  },
-  "description": "Use the {{md}} helper to include external markdown files.",
-  "dest": "test/actual/plugin_preprocess/md-helper.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "md-helper.html",
-  "first": false,
-  "index": 11,
-  "isCurrentPage": false,
-  "items": [
-    "gamma",
-    "beta"
-  ],
-  "last": false,
-  "middle": true,
-  "next": 12,
-  "number": 12,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{title}}

\n

{{description}}

\n
\n\n

{{{md './test/fixtures/pages/md.md'}}}

\n\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "md-helper.html", - "pagename": "md-helper.html", - "prev": 10, - "relativeLink": "md-helper.html", - "src": "test/fixtures/pages/md-helper.hbs", - "tags": [ - "test", - "md", - "markdown" - ], - "title": "md helper" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/no-yfm.html b/test/actual/plugin_preprocess/no-yfm.html deleted file mode 100644 index 0953260..0000000 --- a/test/actual/plugin_preprocess/no-yfm.html +++ /dev/null @@ -1,1389 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/no-yfm.hbstest/actual/plugin_preprocess/no-yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/no-yfm.hbs

-

Page dest: test/actual/plugin_preprocess/no-yfm.html

-

Dest filename: no-yfm.html

-

Dest basename: no-yfm

-

Page title: (no title defined)

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - There is no YAML front matter in this page. - -
Variable number one
-
Variable number two
- - - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "no-yfm",
-  "data": {},
-  "dest": "test/actual/plugin_preprocess/no-yfm.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "no-yfm.html",
-  "first": false,
-  "index": 12,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 13,
-  "number": 13,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n There is no YAML front matter in this page.\n\n
{{noyfm.one}}
\n
{{noyfm.two}}
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "no-yfm.html", - "pagename": "no-yfm.html", - "prev": 11, - "relativeLink": "no-yfm.html", - "src": "test/fixtures/pages/no-yfm.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/yfm-context.html b/test/actual/plugin_preprocess/yfm-context.html deleted file mode 100644 index 5822754..0000000 --- a/test/actual/plugin_preprocess/yfm-context.html +++ /dev/null @@ -1,1426 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm-context.hbstest/actual/plugin_preprocess/yfm-context.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/yfm-context.hbs

-

Page dest: test/actual/plugin_preprocess/yfm-context.html

-

Dest filename: yfm-context.html

-

Dest basename: yfm-context

-

Page title: This title is from the YFM of the current page

-
- -
-
-
- - - - -
-
-

categories on this page: 3

-
-
- - - yfm - - yaml - - context - - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - - - -
- - - -
- - - - - - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "yfm-context",
-  "categories": [
-    "yfm",
-    "yaml",
-    "context"
-  ],
-  "data": {
-    "title": "This title is from the YFM of the current page",
-    "description": "This description is from the YFM of the current page",
-    "categories": [
-      "yfm",
-      "yaml",
-      "context"
-    ]
-  },
-  "description": "This description is from the YFM of the current page",
-  "dest": "test/actual/plugin_preprocess/yfm-context.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "yfm-context.html",
-  "first": false,
-  "index": 13,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 14,
-  "number": 14,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
\n

{{{default home.title \"Title from home.json didn't render.\"}}}

\n

{{{default home.description \"Description from home.json didn't render.\"}}}

\n
\n\n
\n\n
\n

{{{default page.title \"page.title didn't render.\"}}}

\n

{{{default page.description \"page.description didn't render.\"}}}

\n
\n\n
\n\n
\n

{{{default title \"title didn't render.\"}}}

\n

{{{default description \"description didn't render.\"}}}

\n
\n\n\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm-context.html", - "pagename": "yfm-context.html", - "prev": 12, - "relativeLink": "yfm-context.html", - "src": "test/fixtures/pages/yfm-context.hbs", - "title": "This title is from the YFM of the current page" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_preprocess/yfm.html b/test/actual/plugin_preprocess/yfm.html deleted file mode 100644 index 1aa6401..0000000 --- a/test/actual/plugin_preprocess/yfm.html +++ /dev/null @@ -1,1398 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm.hbstest/actual/plugin_preprocess/yfm.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: preprocess.hbs

-

Page src: test/fixtures/pages/yfm.hbs

-

Page dest: test/actual/plugin_preprocess/yfm.html

-

Dest filename: yfm.html

-

Dest basename: yfm

-

Page title: YFM

-
- -
-
-
- - - - -
-
-

categories on this page: 0

-
-
- - No categories defined on this page. - -
-
- -
- -
-
-

All categories: 13

-
-
- - - categories - - collections - - components - - context - - fixtures - - helper - - markdown - - one - - pages - - three - - two - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: categories
- - -
Related pages for: collections
- - -
Related pages for: components
- - -
Related pages for: context
- - -
Related pages for: fixtures
- - -
Related pages for: helper
- - -
Related pages for: markdown
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: three
- - -
Related pages for: two
- - -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 0

-
-
- - No tags defined on this page. - -
-
- -
- -
-
-

All tags: 15

-
-
- - - alert - - bootstrap - - collections - - complex - - example - - examples - - markdown - - md - - one - - pages - - tags - - test - - tests - - three - - two - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: alert
- - -
Related pages for: bootstrap
- - -
Related pages for: collections
- - -
Related pages for: complex
- - -
Related pages for: example
- - -
Related pages for: examples
- - -
Related pages for: markdown
- - -
Related pages for: md
- - -
Related pages for: one
- - -
Related pages for: pages
- - -
Related pages for: tags
- - -
Related pages for: test
- - -
Related pages for: tests
- - -
Related pages for: three
- - -
Related pages for: two
- - -
-
- - -
-
- -
- - - -
This is an alert
- - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "yfm",
-  "data": {
-    "title": "YFM",
-    "foo": "bar",
-    "items": [
-      "alpha",
-      "omega"
-    ]
-  },
-  "dest": "test/actual/plugin_preprocess/yfm.html",
-  "dirname": "test/actual/plugin_preprocess",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/alert.hbs",
-      "test/fixtures/pages/collections-categories.hbs",
-      "test/fixtures/pages/collections-pages.hbs",
-      "test/fixtures/pages/collections-tags.hbs",
-      "test/fixtures/pages/collections.hbs",
-      "test/fixtures/pages/complex.hbs",
-      "test/fixtures/pages/context.hbs",
-      "test/fixtures/pages/debug-helpers.hbs",
-      "test/fixtures/pages/example.hbs",
-      "test/fixtures/pages/gist-helper.hbs",
-      "test/fixtures/pages/lodash.hbs",
-      "test/fixtures/pages/md-helper.hbs",
-      "test/fixtures/pages/no-yfm.hbs",
-      "test/fixtures/pages/yfm-context.hbs",
-      "test/fixtures/pages/yfm.hbs"
-    ],
-    "dest": "test/actual/plugin_preprocess/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/*.hbs"
-      ],
-      "dest": "test/actual/plugin_preprocess/"
-    }
-  },
-  "filename": "yfm.html",
-  "first": false,
-  "foo": "bar",
-  "index": 14,
-  "isCurrentPage": false,
-  "items": [
-    "alpha",
-    "omega"
-  ],
-  "last": true,
-  "middle": false,
-  "number": 15,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\n
This is an alert
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "yfm.html", - "pagename": "yfm.html", - "prev": 13, - "relativeLink": "yfm.html", - "src": "test/fixtures/pages/yfm.hbs", - "title": "YFM" -} -
-
-
-
-
-
- - - diff --git a/test/actual/plugin_untitled.html b/test/actual/plugin_untitled.html deleted file mode 100644 index 370f0ff..0000000 --- a/test/actual/plugin_untitled.html +++ /dev/null @@ -1,3 +0,0 @@ - -

Untitled

-

this page doesn't have a title in the YFM

diff --git a/test/actual/single_page.html b/test/actual/single_page.html deleted file mode 100644 index ffc0150..0000000 --- a/test/actual/single_page.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/example.hbstest/actual/single_page.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/example.hbs

-

Page dest: test/actual/single_page.html

-

Dest filename: single_page.html

-

Dest basename: example

-

Page title: Title from YFM of "example.hbs"

-
- -
-
-
- - - - -
-
-

categories on this page: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

All categories: 2

-
-
- - - yaml - - yfm - - -
-
- -
- -
-
-

Pages related to each category

-
-
- -
Related pages for: yaml
- - -
Related pages for: yfm
- - -
-
- - -
-
- - - -
-
-

Tags on this page: 1

-
-
- - - example - - -
-
- -
- -
-
-

All tags: 1

-
-
- - - example - - -
-
- -
- -
-
-

Pages related to each tag

-
-
- -
Related pages for: example
- - -
-
- - -
-
- -
- - - -This example shows that the properties from "example.json" and "example.hbs" are on the page object. - -
- -
Title from YFM of "example.hbs"
-
- -
- -
Title from YFM of "example.hbs"
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../assets",
-  "basename": "example",
-  "categories": [
-    "yaml",
-    "yfm"
-  ],
-  "data": {
-    "title": "Title from YFM of \"example.hbs\"",
-    "categories": [
-      "yaml",
-      "yfm"
-    ],
-    "tags": [
-      "example"
-    ],
-    "items": [
-      "omega",
-      "gamma"
-    ]
-  },
-  "dest": "test/actual/single_page.html",
-  "dirname": "test/actual",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/example.hbs"
-    ],
-    "dest": "test/actual/single_page.html",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/example.hbs"
-      ],
-      "dest": "test/actual/single_page.html"
-    }
-  },
-  "filename": "single_page.html",
-  "first": true,
-  "index": 0,
-  "items": [
-    "omega",
-    "gamma"
-  ],
-  "last": true,
-  "middle": false,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n\nThis example shows that the properties from \"example.json\" and \"example.hbs\" are on the page object.\n\n
\n\n
{{page.title}}
\n
{{page.text}}
\n\n
\n\n
{{title}}
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "single_page.html", - "pagename": "single_page.html", - "src": "test/fixtures/pages/example.hbs", - "tags": [ - "example" - ], - "title": "Title from YFM of \"example.hbs\"" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/associative-arrays.html b/test/actual/yfm/associative-arrays.html deleted file mode 100644 index 4fc4ec3..0000000 --- a/test/actual/yfm/associative-arrays.html +++ /dev/null @@ -1,677 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/associative-arrays.hbstest/actual/yfm/associative-arrays.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/associative-arrays.hbs

-

Page dest: test/actual/yfm/associative-arrays.html

-

Dest filename: associative-arrays.html

-

Dest basename: associative-arrays

-

Page title: Associative arrays

-
- -
-
-
- - -
-
- -
-
- -
- - - - -
-

Associative arrays

-
- -
Name:
John Smith
-
Age:
33
- - -
Name:
Grace Jones
-
Age:
21
- -
-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "associative-arrays",
-  "data": {
-    "title": "Associative arrays",
-    "people": {
-      "name": "John Smith",
-      "age": 33
-    },
-    "morePeople": {
-      "name": "Grace Jones",
-      "age": 21
-    }
-  },
-  "dest": "test/actual/yfm/associative-arrays.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "associative-arrays.html",
-  "first": true,
-  "index": 0,
-  "last": false,
-  "middle": false,
-  "morePeople": {
-    "name": "Grace Jones",
-    "age": 21
-  },
-  "next": 1,
-  "number": 1,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n
\n

Associative arrays

\n
\n {{#people}}\n
Name:
{{name}}
\n
Age:
{{age}}
\n {{/people}}\n {{#morePeople}}\n
Name:
{{name}}
\n
Age:
{{age}}
\n {{/morePeople}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "associative-arrays.html", - "pagename": "associative-arrays.html", - "people": { - "name": "John Smith", - "age": 33 - }, - "src": "test/fixtures/pages/yfm/associative-arrays.hbs", - "title": "Associative arrays" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/block-literals.html b/test/actual/yfm/block-literals.html deleted file mode 100644 index 3999134..0000000 --- a/test/actual/yfm/block-literals.html +++ /dev/null @@ -1,668 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/block-literals.hbstest/actual/yfm/block-literals.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/block-literals.hbs

-

Page dest: test/actual/yfm/block-literals.html

-

Dest filename: block-literals.html

-

Dest basename: block-literals

-

Page title: Block Literals

-
- -
-
-
- - -
-
- -
-
- -
- - - - -

Newlines preserved

-
-old pond . . . -a frog leaps in -water’s sound - -
- -

Newlines folded

-
-old pond . . . a frog leaps in water’s sound - -
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "another": "old pond . . . a frog leaps in water’s sound\n",
-  "assets": "../../assets",
-  "basename": "block-literals",
-  "data": {
-    "title": "Block Literals",
-    "poem": "old pond . . .\na frog leaps in\nwater’s sound\n",
-    "another": "old pond . . . a frog leaps in water’s sound\n"
-  },
-  "dest": "test/actual/yfm/block-literals.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "block-literals.html",
-  "first": false,
-  "index": 1,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 2,
-  "number": 2,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n

Newlines preserved

\n
\n{{{poem}}}\n
\n\n

Newlines folded

\n
\n{{{another}}}\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "block-literals.html", - "pagename": "block-literals.html", - "poem": "old pond . . .\na frog leaps in\nwater’s sound\n", - "prev": 0, - "relativeLink": "block-literals.html", - "src": "test/fixtures/pages/yfm/block-literals.hbs", - "title": "Block Literals" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/comments.html b/test/actual/yfm/comments.html deleted file mode 100644 index ba0aff3..0000000 --- a/test/actual/yfm/comments.html +++ /dev/null @@ -1,652 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/comments.hbstest/actual/yfm/comments.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/comments.hbs

-

Page dest: test/actual/yfm/comments.html

-

Dest filename: comments.html

-

Dest basename: comments

-

Page title: Comments in YAML front matter

-
- -
-
-
- - -
-
- -
-
- -
- - - - -Nothing. - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "comments",
-  "data": {
-    "title": "Comments in YAML front matter"
-  },
-  "dest": "test/actual/yfm/comments.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "comments.html",
-  "first": false,
-  "index": 2,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 3,
-  "number": 3,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\nNothing.\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "comments.html", - "pagename": "comments.html", - "prev": 1, - "relativeLink": "comments.html", - "src": "test/fixtures/pages/yfm/comments.hbs", - "title": "Comments in YAML front matter" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/data-files.html b/test/actual/yfm/data-files.html deleted file mode 100644 index e1792b4..0000000 --- a/test/actual/yfm/data-files.html +++ /dev/null @@ -1,678 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/data-files.hbstest/actual/yfm/data-files.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/data-files.hbs

-

Page dest: test/actual/yfm/data-files.html

-

Dest filename: data-files.html

-

Dest basename: data-files

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- -

Note that templates {{one}}, {{two}} and {{three}} get their data from "test/fixtures/data.yml". -When a data file is created with the name "data", it gives you access to the root of the context.

- - - -
-

person.yml

-
Jon Schlinkert
-
- -
-

contact.yml

-
8005551212
-
- -
-

animal.json

-
Aardvark
-

Kind of like an ant eater?

-
- -
-

example.json

-
-
- -
-

example.yml

-
Congratulations! This is data from example.yml.
-
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "data-files",
-  "data": {},
-  "dest": "test/actual/yfm/data-files.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "data-files.html",
-  "first": false,
-  "index": 3,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 4,
-  "number": 4,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n

Note that templates \\{{one}}, \\{{two}} and \\{{three}} get their data from \"test/fixtures/data.yml\".\nWhen a data file is created with the name \"data\", it gives you access to the root of the context.

\n\n
\n

{{one}}

\n

{{two}}

\n

{{three}}

\n
\n\n
\n

person.yml

\n
{{person.name}}
\n
\n\n
\n

contact.yml

\n
{{contact.phone}}
\n
\n\n
\n

animal.json

\n
{{animal.type}}
\n

{{animal.description}}

\n
\n\n
\n

example.json

\n
{{example.content}}
\n
\n\n
\n

example.yml

\n
{{example.info}}
\n
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "data-files.html", - "pagename": "data-files.html", - "prev": 2, - "relativeLink": "data-files.html", - "src": "test/fixtures/pages/yfm/data-files.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/data-types.html b/test/actual/yfm/data-types.html deleted file mode 100644 index 25279f8..0000000 --- a/test/actual/yfm/data-types.html +++ /dev/null @@ -1,684 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/data-types.hbstest/actual/yfm/data-types.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/data-types.hbs

-

Page dest: test/actual/yfm/data-types.html

-

Dest filename: data-types.html

-

Dest basename: data-types

-

Page title: Data Types

-
- -
-
-
- - -
-
- -
-
- -
- - - - -
-

Casting data types

-
- -
a.
123
-
b.
123
-
c.
123
-
d.
-
e.
123
-
f.
Yes
-
g.
Yes
-
h.
Yes we have No bananas
- -
-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "data-types",
-  "data": {
-    "title": "Data Types",
-    "dataTypes": {
-      "a": 123,
-      "b": "123",
-      "c": 123,
-      "e": "123",
-      "f": "Yes",
-      "g": "Yes",
-      "h": "Yes we have No bananas"
-    }
-  },
-  "dataTypes": {
-    "a": 123,
-    "b": "123",
-    "c": 123,
-    "e": "123",
-    "f": "Yes",
-    "g": "Yes",
-    "h": "Yes we have No bananas"
-  },
-  "dest": "test/actual/yfm/data-types.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "data-types.html",
-  "first": false,
-  "index": 4,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 5,
-  "number": 5,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n
\n

Casting data types

\n
\n {{#dataTypes}}\n
a.
{{{a}}}
\n
b.
{{{b}}}
\n
c.
{{{c}}}
\n
d.
{{{d}}}
\n
e.
{{{e}}}
\n
f.
{{{f}}}
\n
g.
{{{g}}}
\n
h.
{{{h}}}
\n {{/dataTypes}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "data-types.html", - "pagename": "data-types.html", - "prev": 3, - "relativeLink": "data-types.html", - "src": "test/fixtures/pages/yfm/data-types.hbs", - "title": "Data Types" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/document.html b/test/actual/yfm/document.html deleted file mode 100644 index 3dcab43..0000000 --- a/test/actual/yfm/document.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/document.hbstest/actual/yfm/document.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/document.hbs

-

Page dest: test/actual/yfm/document.html

-

Dest filename: document.html

-

Dest basename: document

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- - - - - - -
-

Customer Information

-
-
Receipt:
-
Oz-Ware Purchase Invoice
- -
Date:
-
2007-08-05
- -
First Name:
-
Dorothy
- -
Last Name:
-
Gale
-
-
- -
- - -
-

Order Information

-
-
Items:
- -
- Item #0 -
-
Part No:
-
A4786
-
Description:
-
Water Bucket (Filled)
-
Price:
-
$1.47
-
Qty:
-
4
-
-
- -
- Item #1 -
-
Part No:
-
E1628
-
Description:
-
High Heeled "Ruby" Slippers
-
Price:
-
$100.27
-
Qty:
-
1
-
-
- -
-
-
- - -
-

Address Information

- Bill To: -
-
Billing Street:
-
123 Tornado Alley -Suite 16 -
-
Billing City:
-
East Centerville
-
Billing State:
-
KS
-
- Ship To: -
-
Shipping Street:
-
123 Tornado Alley -Suite 16 -
-
Shipping City:
-
East Centerville
-
Shipping State:
-
KS
- -
-
- - -
-

Delivery Instructions

-

Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain. -

-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "document",
-  "bill-to": {
-    "street": "123 Tornado Alley\nSuite 16\n",
-    "city": "East Centerville",
-    "state": "KS"
-  },
-  "customer": {
-    "given": "Dorothy",
-    "family": "Gale"
-  },
-  "data": {
-    "receipt": "Oz-Ware Purchase Invoice",
-    "date": "2007-08-06T00:00:00.000Z",
-    "prettyDate": "2007-08-05",
-    "customer": {
-      "given": "Dorothy",
-      "family": "Gale"
-    },
-    "items": [
-      {
-        "part_no": "A4786",
-        "descrip": "Water Bucket (Filled)",
-        "price": 1.47,
-        "quantity": 4
-      },
-      {
-        "part_no": "E1628",
-        "descrip": "High Heeled \"Ruby\" Slippers",
-        "size": 8,
-        "price": 100.27,
-        "quantity": 1
-      }
-    ],
-    "bill-to": {
-      "street": "123 Tornado Alley\nSuite 16\n",
-      "city": "East Centerville",
-      "state": "KS"
-    },
-    "ship-to": {
-      "street": "123 Tornado Alley\nSuite 16\n",
-      "city": "East Centerville",
-      "state": "KS"
-    },
-    "specialDelivery": "Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain.\n"
-  },
-  "date": "2007-08-06T00:00:00.000Z",
-  "dest": "test/actual/yfm/document.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "document.html",
-  "first": false,
-  "index": 5,
-  "isCurrentPage": false,
-  "items": [
-    {
-      "part_no": "A4786",
-      "descrip": "Water Bucket (Filled)",
-      "price": 1.47,
-      "quantity": 4
-    },
-    {
-      "part_no": "E1628",
-      "descrip": "High Heeled \"Ruby\" Slippers",
-      "size": 8,
-      "price": 100.27,
-      "quantity": 1
-    }
-  ],
-  "last": false,
-  "middle": true,
-  "next": 6,
-  "number": 6,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n\n\n
\n

Customer Information

\n
\n
Receipt:
\n
{{receipt}}
\n\n
Date:
\n
{{prettyDate}}
\n\n
First Name:
\n
{{customer.given}}
\n\n
Last Name:
\n
{{customer.family}}
\n
\n
\n\n
\n\n\n
\n

Order Information

\n
\n
Items:
\n {{#each items}}\n
\n Item #{{@index}}\n
\n
Part No:
\n
{{part_no}}
\n
Description:
\n
{{descrip}}
\n
Price:
\n
${{price}}
\n
Qty:
\n
{{quantity}}
\n
\n
\n {{/each}}\n
\n
\n
\n\n\n
\n

Address Information

\n Bill To:\n
\n
Billing Street:
\n
{{bill-to.street}}
\n
Billing City:
\n
{{bill-to.city}}
\n
Billing State:
\n
{{bill-to.state}}
\n
\n Ship To:\n
\n
Shipping Street:
\n
{{ship-to.street}}
\n
Shipping City:
\n
{{ship-to.city}}
\n
Shipping State:
\n
{{ship-to.state}}
\n \n
\n
\n\n\n
\n

Delivery Instructions

\n

{{{specialDelivery}}}

\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "document.html", - "pagename": "document.html", - "prettyDate": "2007-08-05", - "prev": 4, - "receipt": "Oz-Ware Purchase Invoice", - "relativeLink": "document.html", - "ship-to": { - "street": "123 Tornado Alley\nSuite 16\n", - "city": "East Centerville", - "state": "KS" - }, - "specialDelivery": "Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain.\n", - "src": "test/fixtures/pages/yfm/document.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/lists.html b/test/actual/yfm/lists.html deleted file mode 100644 index 73f6b06..0000000 --- a/test/actual/yfm/lists.html +++ /dev/null @@ -1,800 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/lists.hbstest/actual/yfm/lists.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/lists.hbs

-

Page dest: test/actual/yfm/lists.html

-

Dest filename: lists.html

-

Dest basename: lists

-

Page title: Almost a Haiku

-
- -
-
-
- - -
-
- -
-
- -
- - - - -
-

Attributes

-
    -
  • attr1
  • -
  • attr2
  • -
  • attr3
  • - -
-
- -
- -
-

Methods

-
    -
  • getter
  • -
  • setter
  • - -
-
- -
- -
-

Lists

-

Movies

-
- -
Movie:
Casablanca
- -
Movie:
North by Northwest
- -
Movie:
The Man Who Wasn't There
- -
- -

Groceries

-
- -
Item:
milk
- -
Item:
pumpkin pie
- -
Item:
eggs
- -
Item:
juice
- -
-
- -
- -
-

Hierarchical combinations of elements

-

Lists of associative arrays

-
- -
Name:
John Smith
-
Age:
33
- -
Name:
Mary Smith
-
Age:
27
- -
- -

Associative arrays of lists

-
-
Men
-
Name:
John Smith
Name:
Bill Jones
-
Women
-
Name:
Mary Smith
Name:
Susan Williams
-
-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "attributes": [
-    "attr1",
-    "attr2",
-    "attr3"
-  ],
-  "basename": "lists",
-  "data": {
-    "title": "Almost a Haiku",
-    "attributes": [
-      "attr1",
-      "attr2",
-      "attr3"
-    ],
-    "methods": [
-      "getter",
-      "setter"
-    ],
-    "movies": [
-      "Casablanca",
-      "North by Northwest",
-      "The Man Who Wasn't There"
-    ],
-    "groceries": [
-      "milk",
-      "pumpkin pie",
-      "eggs",
-      "juice"
-    ],
-    "people": [
-      {
-        "name": "John Smith",
-        "age": 33
-      },
-      {
-        "name": "Mary Smith",
-        "age": 27
-      }
-    ],
-    "men": [
-      "John Smith",
-      "Bill Jones"
-    ],
-    "women": [
-      "Mary Smith",
-      "Susan Williams"
-    ]
-  },
-  "dest": "test/actual/yfm/lists.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "lists.html",
-  "first": false,
-  "groceries": [
-    "milk",
-    "pumpkin pie",
-    "eggs",
-    "juice"
-  ],
-  "index": 6,
-  "isCurrentPage": false,
-  "last": false,
-  "men": [
-    "John Smith",
-    "Bill Jones"
-  ],
-  "methods": [
-    "getter",
-    "setter"
-  ],
-  "middle": true,
-  "movies": [
-    "Casablanca",
-    "North by Northwest",
-    "The Man Who Wasn't There"
-  ],
-  "next": 7,
-  "number": 7,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n
\n

Attributes

\n
    \n {{#each attributes}}
  • {{.}}
  • \n {{/each}}\n
\n
\n\n
\n\n
\n

Methods

\n
    \n {{#each methods}}
  • {{.}}
  • \n {{/each}}\n
\n
\n\n
\n\n
\n

Lists

\n

Movies

\n
\n {{#each movies}}\n
Movie:
{{.}}
\n {{/each}}\n
\n\n

Groceries

\n
\n {{#each groceries}}\n
Item:
{{.}}
\n {{/each}}\n
\n
\n\n
\n\n
\n

Hierarchical combinations of elements

\n

Lists of associative arrays

\n
\n {{#each people}}\n
Name:
{{name}}
\n
Age:
{{age}}
\n {{/each}}\n
\n\n

Associative arrays of lists

\n
\n
Men
\n {{#each men}}
Name:
{{.}}
{{/each}}\n
Women
\n {{#each women}}
Name:
{{.}}
{{/each}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "lists.html", - "pagename": "lists.html", - "people": [ - { - "name": "John Smith", - "age": 33 - }, - { - "name": "Mary Smith", - "age": 27 - } - ], - "prev": 5, - "relativeLink": "lists.html", - "src": "test/fixtures/pages/yfm/lists.hbs", - "title": "Almost a Haiku", - "women": [ - "Mary Smith", - "Susan Williams" - ] -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/relational-trees.html b/test/actual/yfm/relational-trees.html deleted file mode 100644 index 5293ace..0000000 --- a/test/actual/yfm/relational-trees.html +++ /dev/null @@ -1,877 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/relational-trees.hbstest/actual/yfm/relational-trees.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/relational-trees.hbs

-

Page dest: test/actual/yfm/relational-trees.html

-

Dest filename: relational-trees.html

-

Dest basename: relational-trees

-

Page title: Relational Trees - References

-
- -
-
-
- - -
-
- -
-
- -
- - - - -
-

Associative arrays

-
- - -
instrument
-
Lasik 2000
- -
pulseEnergy
-
5.4
- -
pulseDuration
-
12
- -
repetition
-
1000
- -
spotSize
-
1mm
- -
- - -
instrument
-
Lasik 2000
- -
pulseEnergy
-
5
- -
pulseDuration
-
10
- -
repetition
-
500
- -
spotSize
-
2mm
- -
- - -
instrument
-
Lasik 2000
- -
pulseEnergy
-
5.4
- -
pulseDuration
-
12
- -
repetition
-
1000
- -
spotSize
-
1mm
- -
- - -
instrument
-
Lasik 2000
- -
pulseEnergy
-
5
- -
pulseDuration
-
10
- -
repetition
-
500
- -
spotSize
-
2mm
- -
- - -
instrument
-
Lasik 2000
- -
pulseEnergy
-
5.4
- -
pulseDuration
-
12
- -
repetition
-
1000
- -
spotSize
-
1mm
- -
- - -
instrument
-
Lasik 2000
- -
pulseEnergy
-
5
- -
pulseDuration
-
10
- -
repetition
-
500
- -
spotSize
-
2mm
- -
- -
-
- -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "relational-trees",
-  "data": {
-    "title": "Relational Trees - References",
-    "steps": [
-      {
-        "step": {
-          "instrument": "Lasik 2000",
-          "pulseEnergy": 5.4,
-          "pulseDuration": 12,
-          "repetition": 1000,
-          "spotSize": "1mm"
-        }
-      },
-      {
-        "step": {
-          "instrument": "Lasik 2000",
-          "pulseEnergy": 5,
-          "pulseDuration": 10,
-          "repetition": 500,
-          "spotSize": "2mm"
-        }
-      },
-      {
-        "step": {
-          "instrument": "Lasik 2000",
-          "pulseEnergy": 5.4,
-          "pulseDuration": 12,
-          "repetition": 1000,
-          "spotSize": "1mm"
-        }
-      },
-      {
-        "step": {
-          "instrument": "Lasik 2000",
-          "pulseEnergy": 5,
-          "pulseDuration": 10,
-          "repetition": 500,
-          "spotSize": "2mm"
-        }
-      },
-      {
-        "step": {
-          "instrument": "Lasik 2000",
-          "pulseEnergy": 5.4,
-          "pulseDuration": 12,
-          "repetition": 1000,
-          "spotSize": "1mm"
-        }
-      },
-      {
-        "step": {
-          "instrument": "Lasik 2000",
-          "pulseEnergy": 5,
-          "pulseDuration": 10,
-          "repetition": 500,
-          "spotSize": "2mm"
-        }
-      }
-    ]
-  },
-  "dest": "test/actual/yfm/relational-trees.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "relational-trees.html",
-  "first": false,
-  "index": 7,
-  "isCurrentPage": false,
-  "last": false,
-  "middle": true,
-  "next": 8,
-  "number": 8,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n
\n

Associative arrays

\n
\n {{#each steps}}\n {{#each step}}\n
{{@key}}
\n
{{.}}
\n {{/each}}\n
\n {{/each}}\n
\n
\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "relational-trees.html", - "pagename": "relational-trees.html", - "prev": 6, - "relativeLink": "relational-trees.html", - "src": "test/fixtures/pages/yfm/relational-trees.hbs", - "steps": [ - { - "step": { - "instrument": "Lasik 2000", - "pulseEnergy": 5.4, - "pulseDuration": 12, - "repetition": 1000, - "spotSize": "1mm" - } - }, - { - "step": { - "instrument": "Lasik 2000", - "pulseEnergy": 5, - "pulseDuration": 10, - "repetition": 500, - "spotSize": "2mm" - } - }, - { - "step": { - "instrument": "Lasik 2000", - "pulseEnergy": 5.4, - "pulseDuration": 12, - "repetition": 1000, - "spotSize": "1mm" - } - }, - { - "step": { - "instrument": "Lasik 2000", - "pulseEnergy": 5, - "pulseDuration": 10, - "repetition": 500, - "spotSize": "2mm" - } - }, - { - "step": { - "instrument": "Lasik 2000", - "pulseEnergy": 5.4, - "pulseDuration": 12, - "repetition": 1000, - "spotSize": "1mm" - } - }, - { - "step": { - "instrument": "Lasik 2000", - "pulseEnergy": 5, - "pulseDuration": 10, - "repetition": 500, - "spotSize": "2mm" - } - } - ], - "title": "Relational Trees - References" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/underscore.html b/test/actual/yfm/underscore.html deleted file mode 100644 index d2b623d..0000000 --- a/test/actual/yfm/underscore.html +++ /dev/null @@ -1,691 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/underscore.hbstest/actual/yfm/underscore.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/underscore.hbs

-

Page dest: test/actual/yfm/underscore.html

-

Dest filename: underscore.html

-

Dest basename: underscore

-

Page title: (no title defined)

-
- -
-
-
- - -
-
- -
-
- -
- - -

Note that templates {{one}}, {{two}} and {{three}} get their data from "test/fixtures/data.yml". -When a data file is created with the name "data", it gives you access to the root of the context.

- - - -
-

person.yml

-
Jon Schlinkert
-
- -
-

person.yml - YFM

-
jon: Jon Schlinkert
-
page.jon: Jon Schlinkert
-
underscore.jon:
-
data.jon:
-
underscore.data.jon:
-
- -
-

contact.yml

-
8005551212
-
- -
-

animal.json

-
Aardvark
-

Kind of like an ant eater?

-
- -
-

example.json

-
-
- -
-

example.yml

-
Congratulations! This is data from example.yml.
-
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "underscore",
-  "data": {
-    "jon": "Jon Schlinkert"
-  },
-  "dest": "test/actual/yfm/underscore.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "underscore.html",
-  "first": false,
-  "index": 8,
-  "isCurrentPage": false,
-  "jon": "Jon Schlinkert",
-  "last": false,
-  "middle": true,
-  "next": 9,
-  "number": 9,
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n

Note that templates \\{{one}}, \\{{two}} and \\{{three}} get their data from \"test/fixtures/data.yml\".\nWhen a data file is created with the name \"data\", it gives you access to the root of the context.

\n\n
\n

{{one}}

\n

{{two}}

\n

{{three}}

\n
\n\n
\n

person.yml

\n
{{person.name}}
\n
\n\n
\n

person.yml - YFM

\n
jon: {{jon}}
\n
page.jon: {{page.jon}}
\n
underscore.jon: {{underscore.jon}}
\n
data.jon: {{data.jon}}
\n
underscore.data.jon: {{underscore.data.jon}}
\n
\n\n
\n

contact.yml

\n
{{contact.phone}}
\n
\n\n
\n

animal.json

\n
{{animal.type}}
\n

{{animal.description}}

\n
\n\n
\n

example.json

\n
{{example.content}}
\n
\n\n
\n

example.yml

\n
{{example.info}}
\n
\n\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "underscore.html", - "pagename": "underscore.html", - "prev": 7, - "relativeLink": "underscore.html", - "src": "test/fixtures/pages/yfm/underscore.hbs" -} -
-
-
-
-
-
- - - diff --git a/test/actual/yfm/variables.html b/test/actual/yfm/variables.html deleted file mode 100644 index 0091629..0000000 --- a/test/actual/yfm/variables.html +++ /dev/null @@ -1,667 +0,0 @@ - - - - - Layout filename: '' - - - - -
- - -
-
-
-

test/fixtures/pages/yfm/variables.hbstest/actual/yfm/variables.html

-
-
-
- - -
- -
- -
- -
- -
-
-
-

Page layout: default.hbs

-

Page src: test/fixtures/pages/yfm/variables.hbs

-

Page dest: test/actual/yfm/variables.html

-

Dest filename: variables.html

-

Dest basename: variables

-

Page title: YAML Variables

-
- -
-
-
- - -
-
- -
-
- -
- - - - -This is an example YAML variable. Variables need to be the first thing in the line. If it shows up in the result, it worked! - -

This would output the variable as literal text.

-
three: But this doesn't work. *DOOWB
-

And this would throw an error:

-
three: *DOOWB But this doesn't work.
-

YAML supports variables, or repeated nodes. The simplest explanation is that you define something as a variable by preceding it with "&NAME value" and you can refer to it with "*NAME" e.g.:

-
# YAML
-some_thing: &NAME foobar
-other_thing: *NAME
-

Parses to:

-
{"other_thing": "foobar", "some_thing": "foobar"}
- - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

-

-{
-  "_page": "all",
-  "assets": "../../assets",
-  "basename": "variables",
-  "data": {
-    "title": "YAML Variables",
-    "one": "This is an example YAML variable. Variables need to be the first thing in the line. If it shows up in the result, it worked!",
-    "two": "This is an example YAML variable. Variables need to be the first thing in the line. If it shows up in the result, it worked!"
-  },
-  "dest": "test/actual/yfm/variables.html",
-  "dirname": "test/actual/yfm",
-  "ext": ".html",
-  "extname": ".html",
-  "filePair": {
-    "src": [
-      "test/fixtures/pages/yfm/associative-arrays.hbs",
-      "test/fixtures/pages/yfm/block-literals.hbs",
-      "test/fixtures/pages/yfm/comments.hbs",
-      "test/fixtures/pages/yfm/data-files.hbs",
-      "test/fixtures/pages/yfm/data-types.hbs",
-      "test/fixtures/pages/yfm/document.hbs",
-      "test/fixtures/pages/yfm/lists.hbs",
-      "test/fixtures/pages/yfm/relational-trees.hbs",
-      "test/fixtures/pages/yfm/underscore.hbs",
-      "test/fixtures/pages/yfm/variables.hbs"
-    ],
-    "dest": "test/actual/yfm/",
-    "orig": {
-      "src": [
-        "test/fixtures/pages/yfm/*.hbs"
-      ],
-      "dest": "test/actual/yfm/"
-    }
-  },
-  "filename": "variables.html",
-  "first": false,
-  "index": 9,
-  "isCurrentPage": false,
-  "last": true,
-  "middle": false,
-  "number": 10,
-  "one": "This is an example YAML variable. Variables need to be the first thing in the line. If it shows up in the result, it worked!",
-  "page": "\n  \n  \n    \n    Layout filename: '{{layout}}'\n    \n    \n  \n  \n    
\n\n \n
\n
\n
\n

{{page.src}}{{page.dest}}

\n
\n
\n
\n\n {{pager pagination}}\n
\n\n
\n \n
\n
\n \n {{nav pagination}}\n
\n
\n \n
\n
\n
\n

Page layout: {{default originalLayout '(no layout defined)'}}

\n

Page src: {{page.src}}

\n

Page dest: {{page.dest}}

\n

Dest filename: {{page.filename}}

\n

Dest basename: {{page.basename}}

\n

Page title: {{default title '(no title defined)'}}

\n
\n\n
\n
\n
\n \n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n
\n
\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n
\n
\n\n
\n\n \n
\n

{{{title}}}

\n
\n\n{{{two}}}\n\n{{#markdown}}\nThis would output the variable as literal text.\n``` yaml\nthree: But this doesn't work. *DOOWB\n```\nAnd this would throw an error:\n\n``` yaml\nthree: *DOOWB But this doesn't work.\n```\n\nYAML supports **variables**, or **repeated nodes**. The simplest explanation is that you define something as a variable by preceding it with \"&NAME value\" and you can refer to it with \"*NAME\" e.g.:\n\n``` yaml\n# YAML\nsome_thing: &NAME foobar\nother_thing: *NAME\n```\nParses to:\n``` json\n{\"other_thing\": \"foobar\", \"some_thing\": \"foobar\"}\n```\n{{/markdown}}\n\n
\n

Content

\n
\n \n\n
\n
\n\n

Page

\n \n

Each pages

\n \n\n

Debug Info

\n {{{inspect page 'json'}}}\n
\n
\n
\n
\n
\n \n \n\n", - "pageName": "variables.html", - "pagename": "variables.html", - "prev": 8, - "relativeLink": "variables.html", - "src": "test/fixtures/pages/yfm/variables.hbs", - "title": "YAML Variables", - "two": "This is an example YAML variable. Variables need to be the first thing in the line. If it shows up in the result, it worked!" -} -
-
-
-
-
-
- - - diff --git a/test/assemble_test.js b/test/assemble_test.js deleted file mode 100644 index e534785..0000000 --- a/test/assemble_test.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ - -var expect = require('chai').expect; - -describe("awesome", function() { - it('should run an awesome test', function() { - expect(1).to.equal(1); - }); -}); diff --git a/test/assets/gist.css b/test/assets/gist.css deleted file mode 100644 index 8aa8e7e..0000000 --- a/test/assets/gist.css +++ /dev/null @@ -1,300 +0,0 @@ -.panel ul { - list-style: disc !important; -} -.panel ol li, -.panel ul li { - padding-left: 15px !important; - margin: 0 0 25px 25px !important; -} -.panel ol ol, -.panel ul ul { - list-style-type: circle !important; -} -body .gist { - color: #333333; -} -body .gist blockquote { - margin-left: 0; -} -body .gist pre { - color: #A2A8A8; - font: inherit; - font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; - line-height: 1.7em; - padding: 25px; - white-space: pre; -} -body .gist .highlight { - display: block; - padding: 0; - margin: 1em 0 3em; - background: transparent; - border: none; - border-radius: 0; -} -body .gist .highlight pre { - color: #A2A8A8; - padding: 25px; - margin: 1em 0 3em; - font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; - font-size: 14px; - line-height: 1.7em; - background-color: #f9f9f9; - border: 1px solid #ddd; - border-radius: 2px; -} -body .gist .gist-file { - margin-bottom: 3em; - font-family: 'Assemble SSm A', 'Assemble SSm B', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; - border: none; -} -body .gist .gist-file .gist-data { - overflow: auto; - font-size: 100%; - word-wrap: normal; - background-color: transparent; - border-bottom: none; -} -body .gist .gist-file .gist-data .line-data { - padding: 0.5em !important; -} -body .gist .gist-file .gist-data .line-pre { - padding: 0 !important; - margin: 0 !important; - font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; - background: transparent !important; - border: none !important; -} -body .gist .gist-file .gist-data .gist-highlight { - background: transparent !important; -} -body .gist .gist-file .gist-data .line-numbers { - padding: 0.5em; - color: #aaa; - text-align: right; - background-color: #ececec; - border-right: 1px solid #ddd; -} -body .gist .gist-file .gist-data .line-numbers .line-number { - display: block; - clear: right; -} -body .gist-syntax { - background: #ffffff; - overflow: hidden; -} -body .gist-syntax .c { - color: #999988; - font-style: italic; -} -body .gist-syntax .err { - color: #a61717; - background-color: #e3d2d2; -} -body .gist-syntax .k { - color: #333333; - font-weight: bold; -} -body .gist-syntax .o { - color: #333333; - font-weight: bold; -} -body .gist-syntax .cm { - color: #999988; - font-style: italic; -} -body .gist-syntax .cp { - color: #999999; - font-weight: bold; -} -body .gist-syntax .c1 { - color: #999988; - font-style: italic; -} -body .gist-syntax .cs { - color: #999999; - font-style: italic; - font-weight: bold; -} -body .gist-syntax .gd { - color: #333333; - background-color: #ffdddd; -} -body .gist-syntax .gd .x { - color: #333333; - background-color: #ffaaaa; -} -body .gist-syntax .ge { - color: #333333; - font-style: italic; -} -body .gist-syntax .gr { - color: #aa0000; -} -body .gist-syntax .gh { - color: #999999; -} -body .gist-syntax .gi { - color: #333333; - background-color: #ddffdd; -} -body .gist-syntax .gi .x { - color: #333333; - background-color: #aaffaa; -} -body .gist-syntax .go { - color: #888888; -} -body .gist-syntax .gp { - color: #555555; -} -body .gist-syntax .gs { - font-weight: bold; -} -body .gist-syntax .gu { - color: #aaaaaa; -} -body .gist-syntax .gt { - color: #aa0000; -} -body .gist-syntax .kc { - color: #333333; - font-weight: bold; -} -body .gist-syntax .kd { - color: #333333; - font-weight: bold; -} -body .gist-syntax .kp { - color: #333333; - font-weight: bold; -} -body .gist-syntax .kr { - color: #333333; - font-weight: bold; -} -body .gist-syntax .kt { - color: #445588; - font-weight: bold; -} -body .gist-syntax .m { - color: #009999; -} -body .gist-syntax .s { - color: #dd1144; -} -body .gist-syntax .na { - color: #008080; -} -body .gist-syntax .nb { - color: #0086b3; -} -body .gist-syntax .nc { - color: #445588; - font-weight: bold; -} -body .gist-syntax .no { - color: #008080; -} -body .gist-syntax .ni { - color: #800080; -} -body .gist-syntax .ne { - color: #990000; - font-weight: bold; -} -body .gist-syntax .nf { - color: #990000; - font-weight: bold; -} -body .gist-syntax .nn { - color: #555555; -} -body .gist-syntax .nt { - color: #000080; -} -body .gist-syntax .nv { - color: #008080; -} -body .gist-syntax .ow { - color: #333333; - font-weight: bold; -} -body .gist-syntax .w { - color: #bbbbbb; -} -body .gist-syntax .mf { - color: #009999; -} -body .gist-syntax .mh { - color: #009999; -} -body .gist-syntax .mi { - color: #009999; -} -body .gist-syntax .mo { - color: #009999; -} -body .gist-syntax .sb { - color: #dd1144; -} -body .gist-syntax .sc { - color: #dd1144; -} -body .gist-syntax .sd { - color: #dd1144; -} -body .gist-syntax .s2 { - color: #dd1144; -} -body .gist-syntax .se { - color: #dd1144; -} -body .gist-syntax .sh { - color: #dd1144; -} -body .gist-syntax .si { - color: #dd1144; -} -body .gist-syntax .sx { - color: #dd1144; -} -body .gist-syntax .sr { - color: #009926; -} -body .gist-syntax .s1 { - color: #dd1144; -} -body .gist-syntax .ss { - color: #990073; -} -body .gist-syntax .bp { - color: #999999; -} -body .gist-syntax .vc { - color: #008080; -} -body .gist-syntax .vg { - color: #008080; -} -body .gist-syntax .vi { - color: #008080; -} -body .gist-syntax .il { - color: #009999; -} -body .gist .gist-file .gist-meta { - display: none !important; - padding: 0.5em; - overflow: hidden; - font-family: 'Assemble SSm A', 'Assemble SSm B', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-size: 85%; - color: #666; - background-color: #eaeaea; -} -body .gist .gist-file .gist-meta a { - color: #33b5e5; -} -body .gist .gist-file .gist-meta a:visited { - color: #773377; -} diff --git a/test/assets/nested/validation.css b/test/assets/nested/validation.css deleted file mode 100644 index f7d5057..0000000 --- a/test/assets/nested/validation.css +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Scaffolding - * - * Basic resets for tests - */ - -body { - padding: 60px 0 80px; -} -.justified { - width: 100%; -} -.justified > li { - float: none; -} -.justified > li > a { - text-align: center; - margin-bottom: 5px; -} -@media (min-width: 768px) { - .justified > li { - display: table-cell; - width: 1%; - } -} -.justified > li > a { - width: 100%; -} -.justified > li + li > a { - border-left: none -} -.justified > li:nth-child(2) > a { - border-left: 1px solid #DDD; -} - - - -/* - * Validation styles - */ -#validate:before { - display: block; - content: "\2713 assets path works!"; - font-size: 15px; - font-weight: bold; - padding: 15px; - margin-bottom: 20px; - color: #569C57; - background-color: #e0f7d7; - border: 1px solid #d1ecc2; - border-radius: 4px; -} - - -.nav > li:after { - position: absolute; - top: 9px; - right: 10px; - content: "class='" attr(class) "'"; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - padding: 2px 4px; - margin-left: 10px; - font-size: 90%; - color: #C7254E; - white-space: nowrap; - background-color: #F9F2F4; - border-radius: 4px; - clear: both; -} - -.pager-heading { - position: relative; - display: block; - padding: 10px 15px; -} - -.pager > .active > a, -.pager > .active > span, -.pager > .active > a:hover, -.pager > .active > span:hover, -.pager > .active > a:focus, -.pager > .active > span:focus { - z-index: 2; - color: #ffffff; - background-color: #428bca; - border-color: #428bca; - cursor: default; -} - -/* Blockquotes */ -.callout { - margin: 20px 0; - padding: 20px; - border-left: 3px solid #eee; -} -.callout h4 { - margin-top: 0; - margin-bottom: 5px; -} -.callout p:last-child { - margin-bottom: 0; -} -.callout-success { - background-color: #fdf7f7; - border-color: #eed3d7; -} -.callout-success h4 { - color: #eed3d7; -} -.callout-info { - background-color: #f4f8fa; - border-color: #bce8f1; -} -.callout-info h4 { - color: #3a87ad; -} -.callout-warning { - background-color: #faf8f0; - border-color: #faebcc; -} -.callout-warning h4 { - color: #c09853; -} -.callout-danger { - background-color: #fdf7f7; - border-color: #eed3d7; -} -.callout-danger h4 { - color: #b94a48; -} - - diff --git a/test/assets/validation.css b/test/assets/validation.css deleted file mode 100644 index 2ac1d1a..0000000 --- a/test/assets/validation.css +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Scaffolding - * - * Basic resets for tests - */ - -body { - padding: 60px 0 80px; -} - - - - -.justified { - width: 100%; -} -.justified > li { - float: none; -} -.justified > li > a { - text-align: center; - margin-bottom: 5px; -} -@media (min-width: 768px) { - .justified > li { - display: table-cell; - width: 1%; - } -} -.justified > li > a { - width: 100%; -} -.justified > li + li > a { - border-left: none -} -.justified > li:nth-child(2) > a { - border-left: 1px solid #DDD; -} - - -/* Badges */ -.badge-info { - background-color: #5bc0de; -} -.badge-success { - background-color: #5cb85c; -} -.badge-warning { - background-color: #f0ad4e; -} -.badge-danger { - background-color: #d9534f; -} - - -.pager li.pager-middle { - display: none; -} - -@media (min-width: 1040px) { - .pager li.pager-middle { - display: inline-block; - } -} - - -/* - * Validation styles - */ -#validate:before { - display: block; - content: "\2713 assets path works!"; - font-size: 15px; - font-weight: bold; - padding: 15px; - margin-bottom: 20px; - color: #569C57; - background-color: #e0f7d7; - border: 1px solid #d1ecc2; - border-radius: 4px; -} - - -.nav > li:after { - position: absolute; - top: 9px; - right: 10px; - content: "class='" attr(class) "'"; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - padding: 2px 4px; - margin-left: 10px; - font-size: 90%; - color: #C7254E; - white-space: nowrap; - background-color: #F9F2F4; - border-radius: 4px; - clear: both; -} - -.pager-heading { - position: relative; - display: block; - padding: 10px 15px; -} - -.pager > .active > a, -.pager > .active > span, -.pager > .active > a:hover, -.pager > .active > span:hover, -.pager > .active > a:focus, -.pager > .active > span:focus { - z-index: 2; - color: #ffffff; - background-color: #428bca; - border-color: #428bca; - cursor: default; -} - -/* Blockquotes */ -.callout { - margin: 20px 0; - padding: 20px; - border-left: 3px solid #eee; -} -.callout h4 { - margin-top: 0; - margin-bottom: 5px; -} -.callout p:last-child { - margin-bottom: 0; -} -.callout-success { - background-color: #fdf7f7; - border-color: #eed3d7; -} -.callout-success h4 { - color: #eed3d7; -} -.callout-info { - background-color: #f4f8fa; - border-color: #bce8f1; -} -.callout-info h4 { - color: #3a87ad; -} -.callout-warning { - background-color: #faf8f0; - border-color: #faebcc; -} -.callout-warning h4 { - color: #c09853; -} -.callout-danger { - background-color: #fdf7f7; - border-color: #eed3d7; -} -.callout-danger h4 { - color: #b94a48; -} - - diff --git a/test/collection_tests.js b/test/collection_tests.js deleted file mode 100644 index aebd129..0000000 --- a/test/collection_tests.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ - -var collection = require('../lib/collection'); -var expect = require('chai').expect; -var grunt = require('grunt'); -var path = require('path'); -var _ = require('lodash'); - - - -var getCollection = function(file) { - return grunt.file.readJSON(path.join('./test/fixtures/data/collections', file)); -}; - -var fakeCollection = getCollection('fakeCollection.json'); - -describe('Collections', function() { - - describe('Sorts', function() { - - it("by item name asc", function(done) { - var expected = getCollection('expected-sortby-item-asc.json'); - var col = _.cloneDeep(fakeCollection); - var actual = collection.sort(col); - grunt.verbose.writeln(require('util').inspect(actual, null, 10)); - expect(actual).to.deep.equal(expected); - done(); - }); - - it("by item name desc", function(done) { - var expected = getCollection('expected-sortby-item-desc.json'); - var col = _.cloneDeep(fakeCollection); - col.sortorder = 'DESC'; - var actual = collection.sort(col); - grunt.verbose.writeln(require('util').inspect(actual, null, 10)); - expect(actual).to.deep.equal(expected); - done(); - }); - - it("by page property asc", function(done) { - var expected = getCollection('expected-sortby-page-property-asc.json'); - var col = _.cloneDeep(fakeCollection); - col.sortby = 'title'; - var actual = collection.sort(col); - grunt.verbose.writeln(require('util').inspect(actual, null, 10)); - expect(actual).to.deep.equal(expected); - done(); - }); - - it("by page property desc", function(done) { - var expected = getCollection('expected-sortby-page-property-desc.json'); - var col = _.cloneDeep(fakeCollection); - col.sortorder = 'DESC'; - col.sortby = 'title'; - var actual = collection.sort(col); - grunt.verbose.writeln(require('util').inspect(actual, null, 10)); - expect(actual).to.deep.equal(expected); - done(); - }); - - }); - -}); - diff --git a/test/engine_test.js b/test/engine_test.js deleted file mode 100644 index f240efc..0000000 --- a/test/engine_test.js +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Assemble - * - * Copyright (c) 2014, Jon Schlinkert, Brian Woodward, contributors. - * Licensed under the MIT License (MIT). - */ - -var assembleEngine = require('../lib/engine'); -var expect = require('chai').expect; - - -var pluginParams = { - grunt: require('grunt') -}; - -describe('Loading default handlebars engine', function() { - - it('loads handlebars engine', function(done) { - done(); - }); - - - it('compiles a handlebars template', function(done) { - var engine = assembleEngine.load('handlebars'); - var template; - engine.compile('{{foo}}', {}, function(err, tmpl) { - if(err) { - return done(err); - } - template = tmpl; - done(); - }); - }); - - it('renders a template', function(done) { - var engine = assembleEngine.load('handlebars'); - var expected = 'bar'; - engine.compile('{{baz}}', {}, function(err, tmpl) { - if(err) { - return done(err); - } - engine.render(tmpl, {baz: 'bar'}, function(err, content) { - if(err) { - return done(err); - } - expect(content).to.equal(expected); - done(); - }); - }); - }); - - describe('Loading custom helpers', function() { - - var runTest = function(engine, done) { - var expected = '\n'; - engine.compile("{{{bar 'bar'}}}", {}, function(err, tmpl) { - if(err) { - return done(err); - } - engine.render(tmpl, {}, function(err, content) { - if(err) { - return done(err); - } - expect(content).to.equal(expected); - done(); - }); - }); - }; - - it('loads a custom helper from a file path', function(done) { - var engine = assembleEngine.load('handlebars'); - engine.init({ - helpers: './test/helpers/helpers.js' - }, pluginParams); - runTest(engine, done); - }); - - it('loads a custom helper from a glob pattern', function(done) { - var engine = assembleEngine.load('handlebars'); - engine.init({ - helpers: './test/helpers/helpers.js' - }, pluginParams); - runTest(engine, done); - }); - - - it('loads a custom helper from the given path', function(done) { - var engine = assembleEngine.load('handlebars'); - engine.init({helpers: './test/helpers/*.js'}, pluginParams); - var expected = ''; - - engine.compile("{{{foo 'bar'}}}", {}, function(err, tmpl) { - if(err) { - return done(err); - } - engine.render(tmpl, {}, function(err, content) { - if(err) { - return done(err); - } - expect(content).to.equal(expected); - done(); - }); - }); - }); - - }); -}); diff --git a/test/fixtures/assets_path/assets.hbs b/test/fixtures/assets_path/assets.hbs deleted file mode 100644 index cdbdc10..0000000 --- a/test/fixtures/assets_path/assets.hbs +++ /dev/null @@ -1,64 +0,0 @@ -

Examples to test the "relative" and "assets" variables, and to show how they work

- -{{#assets_nested}} -

"Public" Folder

-

Public (assets) folder is in the project root

-
-originalAssets: {{originalAssets}}
-assets: {{assets}}
-dest: {{dest}}
-src: {{src}}
-assets_nested: {
-  options: {assets: 'test/actual/public'},
-  files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}
-},
-
-{{/assets_nested}} - - -{{#assets_base}} -

Same Folder

-

Assets folder is in the same dir as dest files.

-
-assets_base: {
-  options: {assets: 'test/actual'},
-  files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}
-},
-
-{{/assets_base}} - - -{{#assets_trailing_slash}} -

Project Root

-

Assets folder is in the project root, which is not the same dir as dest files.

-
-assets_trailing_slash: {
-  options: {assets: ''},
-  files: {'test/actual/assets_trailing_slash.html': ['test/files/assets.hbs']}
-}
-
-{{/assets_trailing_slash}} - - -{{#assets_dot_slash}} -

Project Root With Slash

-

Assets folder is in the project rool, which is not the same dir as the dest files.

-
-assets_dot_slash: {
-  options: {assets: './'},
-  files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}
-}
-
-{{/assets_dot_slash}} - - -{{#assets_blank_path}} -

Same Folder With Slash

-

Assets folder is in the same dir as dest files

-
-assets_blank_path: {
-  options: {assets: 'test/actual'},
-  files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}
-}
-
-{{/assets_blank_path}} \ No newline at end of file diff --git a/test/fixtures/data/_site.yml b/test/fixtures/data/_site.yml deleted file mode 100644 index b8f967b..0000000 --- a/test/fixtures/data/_site.yml +++ /dev/null @@ -1,3 +0,0 @@ -title: Assemble -description: <%= pkg.description %> -authors: Jon Schlinkert | Brian Woodward \ No newline at end of file diff --git a/test/fixtures/data/animal.json b/test/fixtures/data/animal.json deleted file mode 100644 index bc1dc60..0000000 --- a/test/fixtures/data/animal.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "type": "Aardvark", - "description": "Kind of like an ant eater?" -} diff --git a/test/fixtures/data/blog.json b/test/fixtures/data/blog.json deleted file mode 100644 index 3d0bb15..0000000 --- a/test/fixtures/data/blog.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "articles": [ - { - "filename": "post1", - "data": { - "title": "Blog Post #1", - "gists": [ - "5898072" - ] - }, - "content": "This \"content\" property is optional and would get passed into the `body` tag. But if you only need to pass the page's metadata to the layout then the content property isn't required." - }, - { - "filename": "post2", - "data": { - "title": "Blog Post #2", - "subtitle": "", - "gists": [ - "5898077", - "5898078" - ] - }, - "content": "

{{title}} | {{site.title}}

\n {{> alert }} This project is brought to you by <%= pkg.name %>." - }, - { - "filename": "post3", - "data": { - "title": "Blog Post #3", - "gists": [ - "5909393" - ] - } - } - ] -} \ No newline at end of file diff --git a/test/fixtures/data/collections/expected-sortby-item-asc.json b/test/fixtures/data/collections/expected-sortby-item-asc.json deleted file mode 100644 index a14b7f6..0000000 --- a/test/fixtures/data/collections/expected-sortby-item-asc.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "tags", - "inflection": "tag", - "sortorder": "ASC", - "sortby": "", - "items": [ - { - "tag": "bug", - "pages": [ - { "data": { "title": "a" } }, - { "data": { "title": "b" } }, - { "data": { "title": "c" } } - ] - }, - { - "tag": "feature", - "pages": [ - { "data": { "title": "z" } }, - { "data": { "title": "x" } }, - { "data": { "title": "y" } } - ] - }, - { - "tag": "priority", - "pages": [ - { "data": { "title": "m" } }, - { "data": { "title": "d" } }, - { "data": { "title": "w" } } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/data/collections/expected-sortby-item-desc.json b/test/fixtures/data/collections/expected-sortby-item-desc.json deleted file mode 100644 index e78ac65..0000000 --- a/test/fixtures/data/collections/expected-sortby-item-desc.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "tags", - "inflection": "tag", - "sortorder": "DESC", - "sortby": "", - "items": [ - { - "tag": "priority", - "pages": [ - { "data": { "title": "m" } }, - { "data": { "title": "d" } }, - { "data": { "title": "w" } } - ] - }, - { - "tag": "feature", - "pages": [ - { "data": { "title": "z" } }, - { "data": { "title": "x" } }, - { "data": { "title": "y" } } - ] - }, - { - "tag": "bug", - "pages": [ - { "data": { "title": "a" } }, - { "data": { "title": "b" } }, - { "data": { "title": "c" } } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/data/collections/expected-sortby-page-property-asc.json b/test/fixtures/data/collections/expected-sortby-page-property-asc.json deleted file mode 100644 index 7b2d17d..0000000 --- a/test/fixtures/data/collections/expected-sortby-page-property-asc.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "tags", - "inflection": "tag", - "sortorder": "ASC", - "sortby": "title", - "items": [ - { - "tag": "bug", - "pages": [ - { "data": { "title": "a" } }, - { "data": { "title": "b" } }, - { "data": { "title": "c" } } - ] - }, - { - "tag": "priority", - "pages": [ - { "data": { "title": "d" } }, - { "data": { "title": "m" } }, - { "data": { "title": "w" } } - ] - }, - { - "tag": "feature", - "pages": [ - { "data": { "title": "x" } }, - { "data": { "title": "y" } }, - { "data": { "title": "z" } } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/data/collections/expected-sortby-page-property-desc.json b/test/fixtures/data/collections/expected-sortby-page-property-desc.json deleted file mode 100644 index cc95cc3..0000000 --- a/test/fixtures/data/collections/expected-sortby-page-property-desc.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "tags", - "inflection": "tag", - "sortorder": "DESC", - "sortby": "title", - "items": [ - { - "tag": "feature", - "pages": [ - { "data": { "title": "z" } }, - { "data": { "title": "y" } }, - { "data": { "title": "x" } } - ] - }, - { - "tag": "priority", - "pages": [ - { "data": { "title": "w" } }, - { "data": { "title": "m" } }, - { "data": { "title": "d" } } - ] - }, - { - "tag": "bug", - "pages": [ - { "data": { "title": "c" } }, - { "data": { "title": "b" } }, - { "data": { "title": "a" } } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/data/collections/fakeCollection.json b/test/fixtures/data/collections/fakeCollection.json deleted file mode 100644 index 78db87b..0000000 --- a/test/fixtures/data/collections/fakeCollection.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "tags", - "inflection": "tag", - "sortorder": "ASC", - "sortby": "", - "items": [ - { - "tag": "feature", - "pages": [ - { "data": { "title": "z" } }, - { "data": { "title": "x" } }, - { "data": { "title": "y" } } - ] - }, - { - "tag": "bug", - "pages": [ - { "data": { "title": "a" } }, - { "data": { "title": "b" } }, - { "data": { "title": "c" } } - ] - }, - { - "tag": "priority", - "pages": [ - { "data": { "title": "m" } }, - { "data": { "title": "d" } }, - { "data": { "title": "w" } } - ] - } - ] -} \ No newline at end of file diff --git a/test/fixtures/data/config.json b/test/fixtures/data/config.json deleted file mode 100644 index 291d5c5..0000000 --- a/test/fixtures/data/config.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "pages": { - "one": [ - { - "filename": "post1", - "data": { - "title": "Blog Post #1", - "gists": ["5898072"] - }, - "content": "This \"content\" property is optional and would get passed into the `body` tag. But if you only need to pass the page\"s metadata to the layout then the content property is unnecessary." - }, - { - "filename": "post2", - "data": { - "title": "Blog Post #2", - "subtitle": "", - "gists": ["5898077", "5898078"] - }, - "content": "

{{title}} | {{site.title}}

\n {{> <%= component.one %> }} This project is brought to you by <%= pkg.name %>." - }, - { - "filename": "post3", - "data": { - "title": "Blog Post #3", - "gists": ["5909393"] - } - } - ], - "two": { - "sweet-blog-post-1": { - "data": { - "title": "Sweet Blog Post #1", - "gists": ["5898072"] - }, - "content": "This 'content' property is optional and would get passed into the `body` tag. But if you only need to pass the page\"s metadata to the layout then the content property is unnecessary." - }, - "awesome-blog-post-2": { - "data": { - "title": "Awesome Blog Post #2", - "subtitle": "", - "gists": ["5898077", "5898078"] - }, - "content": "

{{title}} | {{site.title}}

\n {{> <%= component.one %> }} This project is brought to you by <%= pkg.name %>." - }, - "super-sweet-and-awesome-blog-post-3": { - "data": { - "title": "Super Sweet and Awesome Blog Post #3", - "gists": ["5898072"] - } - } - }, - "three": { - "meta-sweet-blog-post-1": { - "metadata": { - "title": "Sweet Blog Post #1", - "gists": ["5898072"] - }, - "content": "This 'content' property is optional and would get passed into the `body` tag. But if you only need to pass the page\"s metadata to the layout then the content property is unnecessary." - }, - "meta-awesome-blog-post-2": { - "data": { - "title": "Awesome Blog Post #2", - "subtitle": "", - "gists": ["5898077", "5898078"] - }, - "content": "

{{title}} | {{site.title}}

\n {{> <%= component.one %> }} This project is brought to you by <%= pkg.name %>." - }, - "meta-super-sweet-and-awesome-blog-post-3": { - "metadata": { - "title": "Super Sweet and Awesome Blog Post #3", - "gists": ["5898072"] - } - } - } - } -} \ No newline at end of file diff --git a/test/fixtures/data/contact.yml b/test/fixtures/data/contact.yml deleted file mode 100644 index e598f48..0000000 --- a/test/fixtures/data/contact.yml +++ /dev/null @@ -1 +0,0 @@ -phone: 8005551212 \ No newline at end of file diff --git a/test/fixtures/data/data.yml b/test/fixtures/data/data.yml deleted file mode 100644 index 932312f..0000000 --- a/test/fixtures/data/data.yml +++ /dev/null @@ -1,6 +0,0 @@ -# "data.yml" or "data.json" provides access to the root of the context, -# which means that variables in a "data" file may be used your templates as-is, -# so you can do this: {{one}} instead of this: {{data.one}} -one: first -two: second -three: third diff --git a/test/fixtures/data/example.json b/test/fixtures/data/example.json deleted file mode 100644 index 3e7d506..0000000 --- a/test/fixtures/data/example.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "This is the title from example.json", - "text": "This is text from example.json." -} diff --git a/test/fixtures/data/example.yml b/test/fixtures/data/example.yml deleted file mode 100644 index 333a5b6..0000000 --- a/test/fixtures/data/example.yml +++ /dev/null @@ -1 +0,0 @@ -info: Congratulations! This is data from example.yml. diff --git a/test/fixtures/data/home.json b/test/fixtures/data/home.json deleted file mode 100644 index f045374..0000000 --- a/test/fixtures/data/home.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "This title is from a JSON file.", - "description": "This description is from a JSON file." -} \ No newline at end of file diff --git a/test/fixtures/data/noyfm.yml b/test/fixtures/data/noyfm.yml deleted file mode 100644 index 3ef4fc1..0000000 --- a/test/fixtures/data/noyfm.yml +++ /dev/null @@ -1,2 +0,0 @@ -one: Variable number one -two: Variable number two \ No newline at end of file diff --git a/test/fixtures/data/person.yml b/test/fixtures/data/person.yml deleted file mode 100644 index cb2a5cd..0000000 --- a/test/fixtures/data/person.yml +++ /dev/null @@ -1 +0,0 @@ -name: Jon Schlinkert \ No newline at end of file diff --git a/test/fixtures/helpers/bar.hbs b/test/fixtures/helpers/bar.hbs deleted file mode 100644 index 76f86a4..0000000 --- a/test/fixtures/helpers/bar.hbs +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: none ---- - - - - Custom Helpers example - - -

Example using the bar helper

- {{{bar 'Below is an example of using the opt helper and getting the name property from the passed-in assemble.options'}}} - - diff --git a/test/fixtures/helpers/baz.hbs b/test/fixtures/helpers/baz.hbs deleted file mode 100644 index c4cadcf..0000000 --- a/test/fixtures/helpers/baz.hbs +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: none ---- -{{baz 'this should be uppercase'}} \ No newline at end of file diff --git a/test/fixtures/helpers/foo.hbs b/test/fixtures/helpers/foo.hbs deleted file mode 100644 index 30af908..0000000 --- a/test/fixtures/helpers/foo.hbs +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: none ---- - - - - Custom Helpers example - - -

Example using the foo helper

- {{{foo 'Below is an example of using the opt helper and getting the name property from the passed-in assemble.options'}}} - - diff --git a/test/fixtures/helpers/opt.hbs b/test/fixtures/helpers/opt.hbs deleted file mode 100644 index e43d94a..0000000 --- a/test/fixtures/helpers/opt.hbs +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: none ---- - - - - Custom Helpers example - - -

Example using the "opt" helper

-
Version: {{opt 'name'}}
- - diff --git a/test/fixtures/layouts/basic.hbs b/test/fixtures/layouts/basic.hbs new file mode 100644 index 0000000..d563097 --- /dev/null +++ b/test/fixtures/layouts/basic.hbs @@ -0,0 +1,3 @@ +basic layout + +{% body %} \ No newline at end of file diff --git a/test/fixtures/layouts/default.hbs b/test/fixtures/layouts/default.hbs deleted file mode 100644 index 62667b9..0000000 --- a/test/fixtures/layouts/default.hbs +++ /dev/null @@ -1,156 +0,0 @@ - - - - - Layout filename: '{{layout}}' - - - - -
- - -
-
-
-

{{page.src}}{{page.dest}}

-
-
-
- - {{pager pagination}} -
- -
- -
- -
- -
-
-
-

Page layout: {{default originalLayout '(no layout defined)'}}

-

Page src: {{page.src}}

-

Page dest: {{page.dest}}

-

Dest filename: {{page.filename}}

-

Dest basename: {{page.basename}}

-

Page title: {{default title '(no title defined)'}}

-
- -
-
-
- - {{#if categories}} - {{> collections-categories }} - {{/if}} -
-
- {{#if tags}} - {{> collections-tags }} - {{/if}} -
-
- -
- - {{> body }} - -
-

Content

-
- - -
-
- -

Page

- -

Each pages

- - -

Debug Info

- {{{inspect page 'json'}}} -
-
-
-
-
- - - diff --git a/test/fixtures/layouts/globlayout/nested/layout-globlayout.hbs b/test/fixtures/layouts/globlayout/nested/layout-globlayout.hbs deleted file mode 100644 index 02d1107..0000000 --- a/test/fixtures/layouts/globlayout/nested/layout-globlayout.hbs +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: one.hbs ---- -

Layout: {{default this.layout 'No layout was used.'}}

-

This is some random content before the body of the actual page.

- -{{> body }} - -

This is some random content after the body of the actual page.

-

Layout: {{default this.layout 'No layout was used.'}}

diff --git a/test/fixtures/layouts/noext.hbs b/test/fixtures/layouts/noext.hbs index a1931a7..0f321cd 100644 --- a/test/fixtures/layouts/noext.hbs +++ b/test/fixtures/layouts/noext.hbs @@ -2,7 +2,7 @@ - Layout name: '{{layout}}' + Layout name: '{{this.layout}}' @@ -14,17 +14,17 @@
-

Layout: {{default this.layout 'No layout was used.'}}

+

Layout: {{!default this.layout 'No layout was used.'}}

Template: {{page.src}}

- {{> body }} + {% body %}
diff --git a/test/fixtures/layouts/one.hbs b/test/fixtures/layouts/one.hbs index c0db0a2..c6c3fdb 100644 --- a/test/fixtures/layouts/one.hbs +++ b/test/fixtures/layouts/one.hbs @@ -1,17 +1,17 @@ - Layout name: '{{layout}}' + Layout name: '{{this.layout}}'
-

Layout: {{default this.layout 'No layout was used.'}}

+

Layout: {{!default this.layout 'No layout was used.'}}

Template: {{page.src}}

layout one

- {{> body }} + {% body %}

layout one

diff --git a/test/fixtures/layouts/post.hbs b/test/fixtures/layouts/post.hbs deleted file mode 100644 index 24a56d2..0000000 --- a/test/fixtures/layouts/post.hbs +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - Layout name: '{{layout}}' - - - - -
-
-
- -
- -
- -
-
-
-

Layout: {{default this.layout 'No layout was used.'}}

-

Template: {{page.src}}

-
- {{#each gists}} - {{gist this}} - {{/each}} - {{> body }} -
-
-
-
- - - - diff --git a/test/fixtures/layouts/preprocess.hbs b/test/fixtures/layouts/preprocess.hbs deleted file mode 100644 index c4ed9e1..0000000 --- a/test/fixtures/layouts/preprocess.hbs +++ /dev/null @@ -1,128 +0,0 @@ - - - - - Layout filename: '{{layout}}' - - - - -
- - -
-
-
-

{{page.src}}{{page.dest}}

-
-
-
- - {{pager pagination}} -
- -
- -
- -
- -
-
-
-

Page layout: {{default originalLayout '(no layout defined)'}}

-

Page src: {{page.src}}

-

Page dest: {{page.dest}}

-

Dest filename: {{page.filename}}

-

Dest basename: {{page.basename}}

-

Page title: {{default title '(no title defined)'}}

-
- -
-
-
- - {{#if categories}} - {{> collections-categories }} - {{/if}} -
-
- {{#if tags}} - {{> collections-tags }} - {{/if}} -
-
- -
- - {{> body }} - -
-

Content

-
- - -
-
- -

Page

-

Each pages

- - -

Debug Info

- {{{inspect page 'json'}}} -
-
-
-
-
- - - diff --git a/test/fixtures/layouts/three.hbs b/test/fixtures/layouts/three.hbs index ea2785e..ec1ebed 100644 --- a/test/fixtures/layouts/three.hbs +++ b/test/fixtures/layouts/three.hbs @@ -1,10 +1,10 @@ --- layout: two.hbs --- -

Layout: {{default this.layout 'No layout was used.'}}

+

Layout: {{!default this.layout 'No layout was used.'}}

This is some random content before the body of the actual page.

-{{> body }} +{% body %}

This is some random content after the body of the actual page.

-

Layout: {{default this.layout 'No layout was used.'}}

+

Layout: {{!default this.layout 'No layout was used.'}}

diff --git a/test/fixtures/layouts/two.hbs b/test/fixtures/layouts/two.hbs index 02d1107..6dd9fc2 100644 --- a/test/fixtures/layouts/two.hbs +++ b/test/fixtures/layouts/two.hbs @@ -1,10 +1,10 @@ --- layout: one.hbs --- -

Layout: {{default this.layout 'No layout was used.'}}

+

Layout: {{!default this.layout 'No layout was used.'}}

This is some random content before the body of the actual page.

-{{> body }} +{% body %}

This is some random content after the body of the actual page.

-

Layout: {{default this.layout 'No layout was used.'}}

+

Layout: {{!default this.layout 'No layout was used.'}}

diff --git a/test/fixtures/mocha/complex.hbs b/test/fixtures/mocha/complex.hbs deleted file mode 100644 index 2055531..0000000 --- a/test/fixtures/mocha/complex.hbs +++ /dev/null @@ -1,12 +0,0 @@ ---- -foo: bar -version: 2 -categories: -- pages -tags: -- tests -- examples -- complex ---- - -
This is an alert
diff --git a/test/fixtures/mocha/simple1.yml b/test/fixtures/mocha/simple1.yml deleted file mode 100644 index 23809fe..0000000 --- a/test/fixtures/mocha/simple1.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -foo: bar diff --git a/test/fixtures/mocha/simple2.yml b/test/fixtures/mocha/simple2.yml deleted file mode 100644 index b0f4d77..0000000 --- a/test/fixtures/mocha/simple2.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -foo: bar ---- diff --git a/test/fixtures/mocha/yfm.hbs b/test/fixtures/mocha/yfm.hbs deleted file mode 100644 index 88d2411..0000000 --- a/test/fixtures/mocha/yfm.hbs +++ /dev/null @@ -1,5 +0,0 @@ ---- -foo: bar ---- - -
This is an alert
diff --git a/test/fixtures/pages/alert.hbs b/test/fixtures/pages/alert.hbs deleted file mode 100644 index 868fb90..0000000 --- a/test/fixtures/pages/alert.hbs +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Title for "alert.hbs" -one: - two: This is an alert -categories: -- components -tags: -- alert -- bootstrap -items: -- collections -- custom ---- - -

{{{title}}}

-
{{{one.two}}}
diff --git a/test/fixtures/pages/blog/index.hbs b/test/fixtures/pages/blog/index.hbs deleted file mode 100644 index aecf395..0000000 --- a/test/fixtures/pages/blog/index.hbs +++ /dev/null @@ -1,50 +0,0 @@ ---- -layout: false ---- - - - - - - Layout name: 'test/fixtures/pages/blog/index.hbs' | Layout: {{layout}} - - - - - -
-
-
- -
- -
- -
-
-
-

Template: {{page.src}}

-

Layout: {{default this.layout 'No layout was used.'}}

-
- {{#each pages}} - {{#unless_eq ../filename compare=filename}} -
-
-

{{../data.title}}

-
- {{#each ../data.gists}} - {{gist this}} - {{/each}} -
- {{/unless_eq}} - {{/each}} -
-
-
-
- - - diff --git a/test/fixtures/pages/collections-categories.hbs b/test/fixtures/pages/collections-categories.hbs deleted file mode 100644 index 446904c..0000000 --- a/test/fixtures/pages/collections-categories.hbs +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Collections Categories -categories: -- collections -- categories -- one -- two -- three ---- -
-
-

Categories

-
-
- {{#categories}} - {{category}} - {{/categories}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/collections-pages.hbs b/test/fixtures/pages/collections-pages.hbs deleted file mode 100644 index e049ade..0000000 --- a/test/fixtures/pages/collections-pages.hbs +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Pages Collection -tags: -- pages ---- -
-
-

{{title}}

-
-
- {{#each pages}} - {{{data.title}}} - {{/each}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/collections-tags.hbs b/test/fixtures/pages/collections-tags.hbs deleted file mode 100644 index cf7dbdb..0000000 --- a/test/fixtures/pages/collections-tags.hbs +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Tags Test -tags: -- tags -- collections -- one -- two -- three ---- -
-
-

Tags

-
-
- {{#tags}} - {{tag}} - {{/tags}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/collections.hbs b/test/fixtures/pages/collections.hbs deleted file mode 100644 index f0ba9d5..0000000 --- a/test/fixtures/pages/collections.hbs +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Collections -tags: -- tags -- collections -- one -items: -- collections -- custom ---- -{{title}} -
    -{{#tags}} -
  • {{tag}}
  • -{{/tags}} -
- -
    -{{#categories}} -
  • {{categories}}
  • -{{/categories}} -
- -
    -{{#pages}} -
  • {{basename}}
  • -{{/pages}} -
diff --git a/test/fixtures/pages/complex.hbs b/test/fixtures/pages/complex.hbs deleted file mode 100644 index 46193bd..0000000 --- a/test/fixtures/pages/complex.hbs +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Complex YFM -foo: bar -version: 2 -categories: -- pages -tags: -- tests -- examples -- complex -items: -- alpha -- beta ---- - -
This is an alert
diff --git a/test/fixtures/pages/context.hbs b/test/fixtures/pages/context.hbs deleted file mode 100644 index f9c11cf..0000000 --- a/test/fixtures/pages/context.hbs +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: Context -description: The variables on this page are in shown in different contexts. -categories: -- context -- pages -- fixtures -items: -- alpha -- omega ---- - - -

If a list item is empty, or rather only has a label and no link, then the variable did not populate a value.

- - - -
- - - -
- - - -
- - diff --git a/test/fixtures/pages/debug-helpers.hbs b/test/fixtures/pages/debug-helpers.hbs deleted file mode 100644 index a9c6346..0000000 --- a/test/fixtures/pages/debug-helpers.hbs +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Debug Helper ---- -{{#markdown}} - -### \{{debug}} helper -Uncomment the `debug` helper below, run `grunt assemble`, and watch the output in the command line to see how it works. -{{!debug text}} - -{{/markdown}} diff --git a/test/fixtures/pages/foo.hbs b/test/fixtures/pages/foo.hbs new file mode 100644 index 0000000..71ccdd0 --- /dev/null +++ b/test/fixtures/pages/foo.hbs @@ -0,0 +1 @@ +This is foo \ No newline at end of file diff --git a/test/fixtures/pages/gist-helper.hbs b/test/fixtures/pages/gist-helper.hbs deleted file mode 100644 index 4c21d33..0000000 --- a/test/fixtures/pages/gist-helper.hbs +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Gist Helper ---- -{{#markdown}} - -# \{{gist}} helper -{{gist '5193239'}} - -{{/markdown}} \ No newline at end of file diff --git a/test/fixtures/pages/globlayout/globlayout.hbs b/test/fixtures/pages/globlayout/globlayout.hbs deleted file mode 100644 index 75fa8b8..0000000 --- a/test/fixtures/pages/globlayout/globlayout.hbs +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Using a glob layout -layout: layout-globlayout.hbs ---- -

Hello: {{title}}

\ No newline at end of file diff --git a/test/fixtures/pages/layout_yfm.hbs b/test/fixtures/pages/layout_yfm.hbs new file mode 100644 index 0000000..8df5492 --- /dev/null +++ b/test/fixtures/pages/layout_yfm.hbs @@ -0,0 +1,5 @@ +--- +layout: basic +--- + +This page's layout is defined in yaml front matter. \ No newline at end of file diff --git a/test/fixtures/pages/lodash.hbs b/test/fixtures/pages/lodash.hbs deleted file mode 100644 index ee73e40..0000000 --- a/test/fixtures/pages/lodash.hbs +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: <%= site.title %> -description: <%= site.description %> ---- -

{{title}}

-

{{description}}

diff --git a/test/fixtures/pages/md-helper.hbs b/test/fixtures/pages/md-helper.hbs deleted file mode 100644 index 71d9a60..0000000 --- a/test/fixtures/pages/md-helper.hbs +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: md helper -description: Use the {{md}} helper to include external markdown files. -categories: -- markdown -- helper -tags: -- test -- md -- markdown -items: -- gamma -- beta ---- - - - -

{{{md './test/fixtures/pages/md.md'}}}

- - - diff --git a/test/fixtures/pages/md.md b/test/fixtures/pages/md.md deleted file mode 100644 index 755b6fe..0000000 --- a/test/fixtures/pages/md.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Markdown ---- -## Some Markdown - - - one - - two - - three - -[Click here](http://github.com) diff --git a/test/fixtures/pages/no-yfm.hbs b/test/fixtures/pages/no-yfm.hbs deleted file mode 100644 index 1123e06..0000000 --- a/test/fixtures/pages/no-yfm.hbs +++ /dev/null @@ -1,6 +0,0 @@ -There is no YAML front matter in this page. - -
{{noyfm.one}}
-
{{noyfm.two}}
- - diff --git a/test/fixtures/pages/postprocess/postprocess.hbs b/test/fixtures/pages/postprocess/postprocess.hbs deleted file mode 100644 index 7012dfb..0000000 --- a/test/fixtures/pages/postprocess/postprocess.hbs +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: none -title: The Canterbury Tales -chapter: Prologue -categories: -- postprocess -- options ---- -

{{title}}

-

{{chapter}}

-

Modern English

- -But none the less, whilst I have time and space, -Before yet farther in this tale I pace, -It seems to me accordant with reason -To inform you of the condition -Of all of these, as it seemed to me, -And who they were, and what was their degree, -And even how arrayed there at the inn; -And with a knight thus will I first begin. \ No newline at end of file diff --git a/test/fixtures/pages/postprocess/postprocess2.hbs b/test/fixtures/pages/postprocess/postprocess2.hbs deleted file mode 100644 index f8064fc..0000000 --- a/test/fixtures/pages/postprocess/postprocess2.hbs +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: none -title: Post-Process function -description: this page should be prettified. -categories: -- postprocess -- options -- prettify ---- - {{title}} {{> nav-main }} {{{description}}} - - \ No newline at end of file diff --git a/test/fixtures/pages/yfm-context.hbs b/test/fixtures/pages/yfm-context.hbs deleted file mode 100644 index 29c519b..0000000 --- a/test/fixtures/pages/yfm-context.hbs +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: This title is from the YFM of the current page -description: This description is from the YFM of the current page -categories: -- yfm -- yaml -- context ---- - - - -
- - - -
- - - - diff --git a/test/fixtures/pages/yfm.hbs b/test/fixtures/pages/yfm.hbs deleted file mode 100644 index f3925e4..0000000 --- a/test/fixtures/pages/yfm.hbs +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: YFM -foo: bar -items: -- alpha -- omega ---- - -
This is an alert
diff --git a/test/fixtures/pages/yfm/associative-arrays.hbs b/test/fixtures/pages/yfm/associative-arrays.hbs deleted file mode 100644 index 267ba6e..0000000 --- a/test/fixtures/pages/yfm/associative-arrays.hbs +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Associative arrays - -# Indented Blocks, common in YAML data files, use indentation and new lines to separate the '''key: value''' pairs -people: - name: John Smith - age: 33 - -# Inline Blocks, common in YAML data streams, use comma+space to separate the '''key: value''' pairs between braces -morePeople: {name: Grace Jones, age: 21} ---- - - -
-

Associative arrays

-
- {{#people}} -
Name:
{{name}}
-
Age:
{{age}}
- {{/people}} - {{#morePeople}} -
Name:
{{name}}
-
Age:
{{age}}
- {{/morePeople}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/yfm/block-literals.hbs b/test/fixtures/pages/yfm/block-literals.hbs deleted file mode 100644 index 17f8704..0000000 --- a/test/fixtures/pages/yfm/block-literals.hbs +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Block Literals - -# Newlines Preserved -poem: | - old pond . . . - a frog leaps in - water’s sound - -# Newlines Folded -another: > - old pond . . . - a frog leaps in - water’s sound ---- - - -

Newlines preserved

-
-{{{poem}}} -
- -

Newlines folded

-
-{{{another}}} -
\ No newline at end of file diff --git a/test/fixtures/pages/yfm/comments.hbs b/test/fixtures/pages/yfm/comments.hbs deleted file mode 100644 index 6fe9206..0000000 --- a/test/fixtures/pages/yfm/comments.hbs +++ /dev/null @@ -1,9 +0,0 @@ ---- -# This is a Comment -title: Comments in YAML front matter ---- - - -Nothing. \ No newline at end of file diff --git a/test/fixtures/pages/yfm/data-files.hbs b/test/fixtures/pages/yfm/data-files.hbs deleted file mode 100644 index 0bfada3..0000000 --- a/test/fixtures/pages/yfm/data-files.hbs +++ /dev/null @@ -1,34 +0,0 @@ -

Note that templates \{{one}}, \{{two}} and \{{three}} get their data from "test/fixtures/data.yml". -When a data file is created with the name "data", it gives you access to the root of the context.

- - - -
-

person.yml

-
{{person.name}}
-
- -
-

contact.yml

-
{{contact.phone}}
-
- -
-

animal.json

-
{{animal.type}}
-

{{animal.description}}

-
- -
-

example.json

-
{{example.content}}
-
- -
-

example.yml

-
{{example.info}}
-
diff --git a/test/fixtures/pages/yfm/data-types.hbs b/test/fixtures/pages/yfm/data-types.hbs deleted file mode 100644 index 806bb9b..0000000 --- a/test/fixtures/pages/yfm/data-types.hbs +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Data Types - -dataTypes: - a: 123 # an integer - b: "123" # a string, disambiguated by quotes - c: 123.0 # a float -# d throws an error -# d: !!float 123 # also a float via explicit data type prefixed by (!!) - e: !!str 123 # a string, disambiguated by explicit type - f: !!str Yes # a string via explicit type - g: Yes # a boolean True - h: Yes we have No bananas # a string, "Yes" and "No" disambiguated by context. ---- - - -
-

Casting data types

-
- {{#dataTypes}} -
a.
{{{a}}}
-
b.
{{{b}}}
-
c.
{{{c}}}
-
d.
{{{d}}}
-
e.
{{{e}}}
-
f.
{{{f}}}
-
g.
{{{g}}}
-
h.
{{{h}}}
- {{/dataTypes}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/yfm/document.hbs b/test/fixtures/pages/yfm/document.hbs deleted file mode 100644 index c681ee2..0000000 --- a/test/fixtures/pages/yfm/document.hbs +++ /dev/null @@ -1,117 +0,0 @@ ---- -receipt: Oz-Ware Purchase Invoice -date: 2007-08-06 -prettyDate: <%= grunt.template.date(date, 'yyyy-mm-dd') %> -customer: - given: Dorothy - family: Gale - -items: - - part_no: A4786 - descrip: Water Bucket (Filled) - price: 1.47 - quantity: 4 - - - part_no: E1628 - descrip: High Heeled "Ruby" Slippers - size: 8 - price: 100.27 - quantity: 1 - -bill-to: &id001 - street: | - 123 Tornado Alley - Suite 16 - city: East Centerville - state: KS - -ship-to: *id001 - -specialDelivery: > - Follow the Yellow Brick - Road to the Emerald City. - Pay no attention to the - man behind the curtain. ---- - - - - -
-

Customer Information

-
-
Receipt:
-
{{receipt}}
- -
Date:
-
{{prettyDate}}
- -
First Name:
-
{{customer.given}}
- -
Last Name:
-
{{customer.family}}
-
-
- -
- - -
-

Order Information

-
-
Items:
- {{#each items}} -
- Item #{{@index}} -
-
Part No:
-
{{part_no}}
-
Description:
-
{{descrip}}
-
Price:
-
${{price}}
-
Qty:
-
{{quantity}}
-
-
- {{/each}} -
-
-
- - -
-

Address Information

- Bill To: -
-
Billing Street:
-
{{bill-to.street}}
-
Billing City:
-
{{bill-to.city}}
-
Billing State:
-
{{bill-to.state}}
-
- Ship To: -
-
Shipping Street:
-
{{ship-to.street}}
-
Shipping City:
-
{{ship-to.city}}
-
Shipping State:
-
{{ship-to.state}}
- -
-
- - -
-

Delivery Instructions

-

{{{specialDelivery}}}

-
\ No newline at end of file diff --git a/test/fixtures/pages/yfm/lists.hbs b/test/fixtures/pages/yfm/lists.hbs deleted file mode 100644 index c0d518f..0000000 --- a/test/fixtures/pages/yfm/lists.hbs +++ /dev/null @@ -1,89 +0,0 @@ ---- -# This is a Comment -title: Almost a Haiku - -attributes: - - attr1 - - attr2 - - attr3 -methods: [ getter, setter ] - -# Favorite Movies -movies: - - Casablanca - - North by Northwest - - The Man Who Wasn't There - -groceries: [milk, pumpkin pie, eggs, juice] - -people: - - {name: John Smith, age: 33} - - name: Mary Smith - age: 27 - -men: [John Smith, Bill Jones] -women: - - Mary Smith - - Susan Williams ---- - - -
-

Attributes

-
    - {{#each attributes}}
  • {{.}}
  • - {{/each}} -
-
- -
- -
-

Methods

-
    - {{#each methods}}
  • {{.}}
  • - {{/each}} -
-
- -
- -
-

Lists

-

Movies

-
- {{#each movies}} -
Movie:
{{.}}
- {{/each}} -
- -

Groceries

-
- {{#each groceries}} -
Item:
{{.}}
- {{/each}} -
-
- -
- -
-

Hierarchical combinations of elements

-

Lists of associative arrays

-
- {{#each people}} -
Name:
{{name}}
-
Age:
{{age}}
- {{/each}} -
- -

Associative arrays of lists

-
-
Men
- {{#each men}}
Name:
{{.}}
{{/each}} -
Women
- {{#each women}}
Name:
{{.}}
{{/each}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/yfm/relational-trees.hbs b/test/fixtures/pages/yfm/relational-trees.hbs deleted file mode 100644 index a5f1f25..0000000 --- a/test/fixtures/pages/yfm/relational-trees.hbs +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: Relational Trees - References - -# References Example: sequencer protocols for Laser eye surgery -steps: - - step: &id001 # defines anchor label &id001 - instrument: Lasik 2000 - pulseEnergy: 5.4 - pulseDuration: 12 - repetition: 1000 - spotSize: 1mm - - - step: &id002 - instrument: Lasik 2000 - pulseEnergy: 5.0 - pulseDuration: 10 - repetition: 500 - spotSize: 2mm - - - step: *id001 # refers to the first step (with anchor &id001) - - step: *id002 # refers to the second step - - step: *id001 - - step: *id002 ---- - - -
-

Associative arrays

-
- {{#each steps}} - {{#each step}} -
{{@key}}
-
{{.}}
- {{/each}} -
- {{/each}} -
-
\ No newline at end of file diff --git a/test/fixtures/pages/yfm/underscore.hbs b/test/fixtures/pages/yfm/underscore.hbs deleted file mode 100644 index b257e20..0000000 --- a/test/fixtures/pages/yfm/underscore.hbs +++ /dev/null @@ -1,46 +0,0 @@ ---- -jon: <%= person.name %> ---- -

Note that templates \{{one}}, \{{two}} and \{{three}} get their data from "test/fixtures/data.yml". -When a data file is created with the name "data", it gives you access to the root of the context.

- - - -
-

person.yml

-
{{person.name}}
-
- -
-

person.yml - YFM

-
jon: {{jon}}
-
page.jon: {{page.jon}}
-
underscore.jon: {{underscore.jon}}
-
data.jon: {{data.jon}}
-
underscore.data.jon: {{underscore.data.jon}}
-
- -
-

contact.yml

-
{{contact.phone}}
-
- -
-

animal.json

-
{{animal.type}}
-

{{animal.description}}

-
- -
-

example.json

-
{{example.content}}
-
- -
-

example.yml

-
{{example.info}}
-
diff --git a/test/fixtures/pages/yfm/variables.hbs b/test/fixtures/pages/yfm/variables.hbs deleted file mode 100644 index 89117ba..0000000 --- a/test/fixtures/pages/yfm/variables.hbs +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: YAML Variables - -one: &DOOWB This is an example YAML variable. Variables need to be the first thing in the line. If it shows up in the result, it worked! -two: *DOOWB ---- - - -{{{two}}} - -{{#markdown}} -This would output the variable as literal text. -``` yaml -three: But this doesn't work. *DOOWB -``` -And this would throw an error: - -``` yaml -three: *DOOWB But this doesn't work. -``` - -YAML supports **variables**, or **repeated nodes**. The simplest explanation is that you define something as a variable by preceding it with "&NAME value" and you can refer to it with "*NAME" e.g.: - -``` yaml -# YAML -some_thing: &NAME foobar -other_thing: *NAME -``` -Parses to: -``` json -{"other_thing": "foobar", "some_thing": "foobar"} -``` -{{/markdown}} \ No newline at end of file diff --git a/test/fixtures/partials/collections-categories.hbs b/test/fixtures/partials/collections-categories.hbs index 348f19a..1ffa73c 100644 --- a/test/fixtures/partials/collections-categories.hbs +++ b/test/fixtures/partials/collections-categories.hbs @@ -54,8 +54,8 @@ tags: