{"action":"created","issue":{"url":"https://api.github.com/repos/jbolila/plantei.eu-website/issues/4","labels_url":"https://api.github.com/repos/jbolila/plantei.eu-website/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jbolila/plantei.eu-website/issues/4/comments","events_url":"https://api.github.com/repos/jbolila/plantei.eu-website/issues/4/events","html_url":"https://github.com/jbolila/plantei.eu-website/issues/4","id":62729640,"number":4,"title":"Implementing view partials","user":{"login":"fimdomeio","id":705133,"avatar_url":"https://avatars.githubusercontent.com/u/705133?v=3","gravatar_id":"","url":"https://api.github.com/users/fimdomeio","html_url":"https://github.com/fimdomeio","followers_url":"https://api.github.com/users/fimdomeio/followers","following_url":"https://api.github.com/users/fimdomeio/following{/other_user}","gists_url":"https://api.github.com/users/fimdomeio/gists{/gist_id}","starred_url":"https://api.github.com/users/fimdomeio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fimdomeio/subscriptions","organizations_url":"https://api.github.com/users/fimdomeio/orgs","repos_url":"https://api.github.com/users/fimdomeio/repos","events_url":"https://api.github.com/users/fimdomeio/events{/privacy}","received_events_url":"https://api.github.com/users/fimdomeio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbolila/plantei.eu-website/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jbolila/plantei.eu-website/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T16:03:08Z","updated_at":"2015-03-19T16:25:17Z","closed_at":null,"body":"I'm not sure how to implement this and found very little documentation on this online.\r\nRight now I'm using mostly plain html and repeating unnecessary stuff.\r\nUsing {{> partialName}} does not work as metalsmith can't seem to find the partials. I tried to mess a bit with the settings but had no luck. "},"comment":{"url":"https://api.github.com/repos/jbolila/plantei.eu-website/issues/comments/83650802","html_url":"https://github.com/jbolila/plantei.eu-website/issues/4#issuecomment-83650802","issue_url":"https://api.github.com/repos/jbolila/plantei.eu-website/issues/4","id":83650802,"user":{"login":"fimdomeio","id":705133,"avatar_url":"https://avatars.githubusercontent.com/u/705133?v=3","gravatar_id":"","url":"https://api.github.com/users/fimdomeio","html_url":"https://github.com/fimdomeio","followers_url":"https://api.github.com/users/fimdomeio/followers","following_url":"https://api.github.com/users/fimdomeio/following{/other_user}","gists_url":"https://api.github.com/users/fimdomeio/gists{/gist_id}","starred_url":"https://api.github.com/users/fimdomeio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fimdomeio/subscriptions","organizations_url":"https://api.github.com/users/fimdomeio/orgs","repos_url":"https://api.github.com/users/fimdomeio/repos","events_url":"https://api.github.com/users/fimdomeio/events{/privacy}","received_events_url":"https://api.github.com/users/fimdomeio/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T16:25:17Z","updated_at":"2015-03-19T16:25:17Z","body":"Still not working.\r\nin build.js I added:\r\n`partial = require('metalsmith-partial'), to the initial vars`\r\n\r\nand\r\n    .use(partial({\r\n       directory: './templates/partials', \r\n       engine: 'handlebars'\r\n     }))\r\nto metalsmith.\r\n\r\nCan't add `inPlace: true` to templates({}) as described as it makes the build stop working. I think it interprets everything as handlebars files.\r\n\r\nIf I ad `{{> header.hbs}}` or even `{%- @partial('header.hbs') %}` to index.md it gets rendered as normal text.\r\nAdding `{{> header.hbs}}` to a template file I always get `template not found` no matter what path I try to put. With or without .hbs, starting from project root, or from templates directory."}}