laktek / punch-blog

A boilerplate to create personal blogs based on Punch
MIT License
45 stars 14 forks source link

How to use Jade? #17

Closed teddychan closed 11 years ago

teddychan commented 11 years ago

I know there is punch-engine-jade

I also convert all the template file to jade.

However, I found that there is some function inside the mustache template, is not able to convert to jade template.

such as _header.mustache

{{#stylesheet_bundle}}/css/main.css{{/stylesheet_bundle}} 

Is there is anyway to use jade language in this punch-blog?

laktek commented 11 years ago

Jade's helper link(rel='stylesheet', href='/css/main.css'), will work on a generated site.

But we might have to come up with a Jade specific helper to use in the development mode (which will reload the files).

Can you open an issue in github.com/laktek/punch-engine-jade ?