{"action":"created","issue":{"url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/34","labels_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/34/comments","events_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/34/events","html_url":"https://github.com/superwolff/metalsmith-layouts/issues/34","id":100122114,"number":34,"title":"Layouts not rendered at all!","user":{"login":"gabeno","id":1006432,"avatar_url":"https://avatars.githubusercontent.com/u/1006432?v=3","gravatar_id":"","url":"https://api.github.com/users/gabeno","html_url":"https://github.com/gabeno","followers_url":"https://api.github.com/users/gabeno/followers","following_url":"https://api.github.com/users/gabeno/following{/other_user}","gists_url":"https://api.github.com/users/gabeno/gists{/gist_id}","starred_url":"https://api.github.com/users/gabeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabeno/subscriptions","organizations_url":"https://api.github.com/users/gabeno/orgs","repos_url":"https://api.github.com/users/gabeno/repos","events_url":"https://api.github.com/users/gabeno/events{/privacy}","received_events_url":"https://api.github.com/users/gabeno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-10T17:24:45Z","updated_at":"2015-08-11T07:41:33Z","closed_at":"2015-08-11T07:41:33Z","body":"Here is my code:\r\n\r\n__src/index.md__\r\n```md\r\n---\r\nlayout: layout.hbs\r\ntitle: Test Article\r\n---\r\n  \r\n### Test Article\r\nSome content will go here...\r\n```\r\n\r\n__layouts/layout.hbs__\r\n```html\r\n!DOCTYPE html>\r\n<html lang=\"en\">\r\n    <head>\r\n        <meta charset=\"UTF-8\" />\r\n        <title>{{ title }}</title>\r\n    </head>\r\n    <body>\r\n        {{> header }}\r\n        {{{ contents }}}\r\n        <p>Default Layout</p>\r\n    </body>\r\n</html>\r\n```\r\n\r\n__partials/header.hbs__\r\n```html\r\n<header>Header Content</header>\r\n```\r\n\r\n__build.js__\r\n```js\r\nvar Metalsmith = require('metalsmith'),\r\n    layouts  = require('metalsmith-layouts'),\r\n    markdown   = require('metalsmith-markdown');\r\n\r\nMetalsmith(__dirname)\r\n    .use(markdown())\r\n    .use(layouts({\r\n        engine: 'handlebars',\r\n        pattern: '*.hbs',\r\n        partials: {\r\n            'header': 'partials/header'\r\n        }\r\n    }))\r\n    .destination('./build')\r\n    .build(function(err, files){\r\n        if (err) {\r\n            console.log(err);\r\n        }\r\n    });\r\n```\r\n\r\nWhen I run ```node build.js``` I get the following:\r\n\r\n__build/index.html__\r\n```html\r\n<h3 id=\"test-article\">Test Article</h3>\r\n<p>Some content will go here...</p>\r\n```\r\n\r\nAnything I might be missing?"},"comment":{"url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/comments/129742256","html_url":"https://github.com/superwolff/metalsmith-layouts/issues/34#issuecomment-129742256","issue_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/34","id":129742256,"user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T07:41:33Z","updated_at":"2015-08-11T07:41:33Z","body":"I'll assume that did, let me know if you have other questions!"}}