{"action":"opened","issue":{"url":"https://api.github.com/repos/assemble/assemble/issues/705","labels_url":"https://api.github.com/repos/assemble/assemble/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/assemble/assemble/issues/705/comments","events_url":"https://api.github.com/repos/assemble/assemble/issues/705/events","html_url":"https://github.com/assemble/assemble/issues/705","id":72912741,"number":705,"title":"[v0.6.0] Loading single layout from Filesystem","user":{"login":"ub1quit33","id":2199417,"avatar_url":"https://avatars.githubusercontent.com/u/2199417?v=3","gravatar_id":"","url":"https://api.github.com/users/ub1quit33","html_url":"https://github.com/ub1quit33","followers_url":"https://api.github.com/users/ub1quit33/followers","following_url":"https://api.github.com/users/ub1quit33/following{/other_user}","gists_url":"https://api.github.com/users/ub1quit33/gists{/gist_id}","starred_url":"https://api.github.com/users/ub1quit33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ub1quit33/subscriptions","organizations_url":"https://api.github.com/users/ub1quit33/orgs","repos_url":"https://api.github.com/users/ub1quit33/repos","events_url":"https://api.github.com/users/ub1quit33/events{/privacy}","received_events_url":"https://api.github.com/users/ub1quit33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T03:34:29Z","updated_at":"2015-05-04T03:34:29Z","closed_at":null,"body":"I feel like I am doing something very wrong, as I am finding myself having a lot of difficulty with setting up a workflow which seems like should be simple to establish.\r\n\r\nI am trying to keep my content in Markdown pages and render those pages using a layout (a JSON template in this case). Each glob of src files will be sharing the same layout, so I only need to load one layout per task. I reviewed #614, which gave me insight into how a glob of src files can share a template, but my problem at this point is being more or less befuddled by the templates API. Is there a way to load a single template from the filesystem?\r\n\r\n`assemble.layout` seems to only work with inline templates (I even tried substituting a string with a call to fs.readFileSync(), which left me with a steaming pile of stacktrace), and `assemble.layouts`, as far as I can tell, is intended for loading in templates by the glob. Even then, damned if I know how those templates have their keys assigned to them.\r\n\r\nI'll take any knowledge I can get at this point, since I am sorely lacking in understanding right now. Thanks in advance for any help or pointers."}}