{"action":"created","issue":{"url":"https://api.github.com/repos/assemble/assemble/issues/864","repository_url":"https://api.github.com/repos/assemble/assemble","labels_url":"https://api.github.com/repos/assemble/assemble/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/assemble/assemble/issues/864/comments","events_url":"https://api.github.com/repos/assemble/assemble/issues/864/events","html_url":"https://github.com/assemble/assemble/issues/864","id":157192668,"number":864,"title":"Handlebars Partial-Block notation doesn't work","user":{"login":"binarykiwi","id":1876108,"avatar_url":"https://avatars.githubusercontent.com/u/1876108?v=3","gravatar_id":"","url":"https://api.github.com/users/binarykiwi","html_url":"https://github.com/binarykiwi","followers_url":"https://api.github.com/users/binarykiwi/followers","following_url":"https://api.github.com/users/binarykiwi/following{/other_user}","gists_url":"https://api.github.com/users/binarykiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/binarykiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarykiwi/subscriptions","organizations_url":"https://api.github.com/users/binarykiwi/orgs","repos_url":"https://api.github.com/users/binarykiwi/repos","events_url":"https://api.github.com/users/binarykiwi/events{/privacy}","received_events_url":"https://api.github.com/users/binarykiwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T12:08:38Z","updated_at":"2016-05-27T12:08:39Z","closed_at":null,"body":"Hi there,\r\n\r\nis there any option to use the handlebars partial-block:\r\nhttp://handlebarsjs.com/partials.html#partial-block\r\n```hbs\r\n{{#> layout }}\r\n  My Content\r\n{{/layout}}\r\n```\r\n\r\nI want to include some other partials in a kind of wrapping partial, like this:\r\n```hbs\r\n{{#> module }}\r\n  {{> component1 }}\r\n  {{> component2 }}\r\n{{/module}}\r\n```\r\n\r\nBut when I do it like this it ends up with an error:\r\n\r\n> Warning: Parse error on line 1:\r\n> {{#> module\r\n> ---^\r\n> Expecting 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'INVALID' Use --force to continue.\r\n\r\nIs this the correct notation for the case? Or is there a plugin to handle partial-blocks? Or are there other options, wrapping a group of partials with predefined content/markup?\r\n\r\nIn short: what I like to output is something like a partial like that:\r\n```hbs\r\n<section class=\"module module-{{type}}\">\r\n  <h1>{{title}}</h1>\r\n  {{#if @partial-block}}\r\n    {{{ @partial-block }}}\r\n  {{/if}}\r\n</section>\r\n```\r\nAnd I cannot parse the content for partial-block like `{{type}}` or `{{title}}` as this is more complex content - for example some component partials as `{{> image}}`, `{{> list}}` or `{{> table}}`.\r\n\r\nThanks so far."},"comment":{"url":"https://api.github.com/repos/assemble/assemble/issues/comments/222130286","html_url":"https://github.com/assemble/assemble/issues/864#issuecomment-222130286","issue_url":"https://api.github.com/repos/assemble/assemble/issues/864","id":222130286,"user":{"login":"assemblebot","id":16341238,"avatar_url":"https://avatars.githubusercontent.com/u/16341238?v=3","gravatar_id":"","url":"https://api.github.com/users/assemblebot","html_url":"https://github.com/assemblebot","followers_url":"https://api.github.com/users/assemblebot/followers","following_url":"https://api.github.com/users/assemblebot/following{/other_user}","gists_url":"https://api.github.com/users/assemblebot/gists{/gist_id}","starred_url":"https://api.github.com/users/assemblebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assemblebot/subscriptions","organizations_url":"https://api.github.com/users/assemblebot/orgs","repos_url":"https://api.github.com/users/assemblebot/repos","events_url":"https://api.github.com/users/assemblebot/events{/privacy}","received_events_url":"https://api.github.com/users/assemblebot/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T12:08:39Z","updated_at":"2016-05-27T12:08:39Z","body":"\n@binarykiwi Thanks for the issue! If you're reporting a bug, please be sure to include:\n\n- The version of `assemble` you are using.\n- Your assemblefile.js (This can be in a gist)\n- The commandline output. (Screenshot or gist is fine)\n- What you expected to happen instead.\n\nIf your issue is related to one of the following, please open an issue there:\n  - [grunt-assemble](https://github.com/assemble/grunt-assemble/issues/new) Issues with using assemble in grunt or the grunt-assemble library.\n  - [handlebars-helpers](https://github.com/assemble/handlebars-helpers/issues/new) Issues with using handlebars helpers from the handlebars-helpers library.\n"}}
{"actor":{"display_login":"assemblebot"}}