ember.js - Jekyll and EmberJS conflicts? -


does have insight using jekyll emberjs project , if poses problems either framework since use double curly brace syntax variables such {{ title }}.

i wanted check see if had inside info before starting large environment build out jekyll , emberjs.

ember , jekyll uses same syntax inject variables in templates.

  • jekyll uses liquid template engine. in system, use {{variable}} display content of variable, defined in font-matter of page (or site configuration).
  • ember uses handlebars template engine default, ember/handlebars, use {{variable}} access variable attribute or property of controller (or model).

this must source of conflict. , can avoided surrounding handlebars code {% raw %} , {% endraw %} tags. see question details:

{% raw %}   <script type='text/x-handlebars' data-template-name='index'>     <div>{{title}}</div>   </script> {% endraw %} 

regards


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -