assemble / generator-assemble

Yeoman generator for Assemble, the static site generator built on Grunt.js. Kickstart new Assemble projects in just a few seconds, including templates, data, layouts, and a theme.

Home Page:http://assemble.io/docs/Resources.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Content block

brunowego opened this issue · comments

I try add at top a block call in layout.hbs:

{{#block 'top'}}{{/block}}

And in bottom another block call in layout.hbs:

{{#block 'bottom'}}{{/block}}

In my pages:

{{#content 'top'}}
<!-- build:css(.) /styles/vendor/plyr.css -->
<link rel="stylesheet" href="/bower_components/plyr/dist/css/plyr.css">
<!-- endbuild -->
{{/content}}
{{#content 'bottom'}}
<!-- build:js(.) /scripts/vendor/plyr.js -->
<script src="/bower_components/plyr/dist/js/plyr.js"></script>
<script src="/bower_components/plyr/dist/js/docs.js"></script>
<!-- endbuild -->
{{/content}}

But not work, only call the first block. Have any idea? Thanks.

before I answer, would you mind recreating on assemble so other users will find the info when they search issues in the future? https://github.com/assemble/assemble/issues/new

thanks!