11

Does anyone know if there are any ports of Liquid Templating for Node.js? Or anything like it?

More or less our goal is to port Jekyll to Node.js - so anything to help with the templating side will be appreciated :)

balupton
  • 47,113
  • 32
  • 131
  • 182
  • Liquid looks like it has a syntax similar to Jinja2 or Django templates, so you might want to look for ports of those, too. – icktoofay Mar 23 '11 at 22:01

4 Answers4

6

There are a few versions in js I've run across - the only node-specific port I have seen is Liquid Node which is compatible with node's async programming

Steven Garcia
  • 2,814
  • 2
  • 24
  • 12
4

Thanks guys.

Ended up using eco as the templating engine.

For the layouts-in-layouts of Jekyll as well as the YAML headers of template files I coded my own: http://docpad.org

balupton
  • 47,113
  • 32
  • 131
  • 182
2

As I said in a comment, it appears that Liquid has a syntax similar to Jinja2 or Django templates. Some people seem to have ported some of those templating languages:

  • Djangode (see the templates part; it contains other things, too)
  • Strobe

In addition, there seems to be a large collection of other templating languages on the Node wiki.

icktoofay
  • 126,289
  • 21
  • 250
  • 231
0

There are a few similar libraries with varying features, these are two that support inline filters:

Ricardo Tomasi
  • 34,573
  • 2
  • 55
  • 66