handlebars.js - is there an easy way to design html handlebars templates -
i'm looking simple way create static html page designs using handlebars partials ease handover developer. i.e. create
index.html sidebar.html main.html product.html product_stub.html
and on. simple way build pages can see them in chrome:
index.html:
<html> ... <body> <div class="sidebar">{{ include sidebar.html }}</div> <div class="main">{{ include main.html }}</div> </body>
main.html:
{% in 0 10 %} {{ include product_stub.html }} {% endfor %}
then product_stub.html might like:
<div class="product-stub"> <h2>product name</h2> <p>some lipsum text...</p> </div>
then ideally developer take these same files, add in magic - designer edit tweak design..
take @ assemble, it's purpose.
Comments
Post a Comment