linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

Why template file is .us? #338

Closed felippenardi closed 9 years ago

felippenardi commented 9 years ago

Hello,

I couldn't find not he Docs any information on what this .us extension is. What capabilities does it gives to the HTML? Otherwise, why not just .html?

searls commented 9 years ago

It's an underscore template. You can use underscore interpolation to evaluate and interpolate JavaScript with <% %>  <%= %>, respectively. 

You can also discard this feature and rename it to .html

On Wed, Jan 14, 2015 at 5:11 AM, Felippe Nardi notifications@github.com wrote:

Hello,

I couldn't find not he Docs an information of what this .us extension is and what capabilities does it gives to the HTML? Otherwise, why not just .html?

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/338

felippenardi commented 9 years ago

Thanks :)