\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
\n\n
\n
\n\n
Page
\n \n
Each pages
\n
\n\n
Debug Info
\n {{{inspect page 'json'}}}\n
\n