Dynamic data is not accessed in included templates

31 views
Skip to first unread message

ankur gupta

unread,
Mar 31, 2016, 9:01:07 AM3/31/16
to Pebble Templating Engine
Hi ,

Suppose I have TemplateA.html like this 

<html>
<body>
<div> {{ name }} </div>

    {% include "TemplateB.html" %}

</body>
</html>

and TemplateB.html is like this :

<div> {{ address }} </div>


Now if I am rendering TemplateA.html with dynamic map , TemplateB.html is not included in templateA .

Is included templates are able to access dynamic fields of main template ??
Reply all
Reply to author
Forward
0 new messages