Using the assemble i actually stuck on a problem which i can't fix myself.
I'm defining a bunch of widgets
in the YAML front matter section and including an partial aside {{> aside}}
. Until here everything works as expected!
What i'm trying to do now, is to take the list widgets and rendering my partials within the aside template. But anyhow it does not work as expected.
src/templates/layouts/layout-default.hbs
---
layout: src/templates/layouts/layout-default.hbs
widgets:
- widget_link-list
- widget_welcome-message
---
<section role="main">
<h1>Template TwoCol</h1>
{{> body }}
</section>
<aside role="complementary">
{{> aside}}
</aside>
src/templates/partials/aside.hbs
{{#each widgets}}
{{.}}
{{/each}}
Using {{.}}
prints my above defined list as string. But if i try to do {{> .}}
this, the console drops the following warning:
Warning: The partial . could not be found Use --force to continue.