You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that CrowCpp does not support the full mustache specification and this can be a problem. Specifically parents, blocks and dynamic names don't seem to be fully supported.
{{<template1}}{{$page_content}}<divclass="ui placeholder segment">
This is what I want to replace the placeholder
</div>
{{/page_content}}
{{/template1}}
template 2 should render:
<!DOCTYPE html><html><body><divclass="ui segment"><divclass="ui placeholder segment">
This is what I want to replace the placeholder
</div></div></div></body></html>
<divclass="ui placeholder segment">
This would be interpolated if template2 is passed to dynamic_page at runtime
</div>
template3
<divclass="ui placeholder segment">
This would be interpolated if template3 is passed to dynamic_page at runtime
</div>
hash
{
"dynamic_page" : "template2"
}
template 1 should render:
<!DOCTYPE html><html><body><divclass="ui segment"><divclass="ui placeholder segment">
This would be interpolated if template2 is passed to dynamic_page at runtime
</div></div></div></body></html>
The text was updated successfully, but these errors were encountered:
It seems that CrowCpp does not support the full mustache specification and this can be a problem. Specifically parents, blocks and dynamic names don't seem to be fully supported.
Parents and blocks
template1
template2
template 2 should render:
dynamic names:
template1
template2
template3
hash
template 1 should render:
The text was updated successfully, but these errors were encountered: