rtomayko / tilt

Generic interface to multiple Ruby template engines

Home Page:http://github.com/rtomayko/tilt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pug support

noraj opened this issue · comments

Pug is a JavaScript templating language equivalent to slim, with a similar syntax.

But pug is much powerful and featureful with mixins, block and extends (template inheritance), etc.

Hopefully there is pug-ruby that allow to compile Jade and Pug templates from Ruby.

Other leads are:

pug-ruby appears to be dead dead upstream, no commits in about 4 years. I think we should close this.

Seem that jekyll-pug survived but it's requiring pug-ruby.

But anyway as stated here yivo/pug-ruby#5 we can't use ruby in the template so it would never be a true replacement for Slim.