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 :)
Mustache is one of the most widely known templating systems that works for a number of programming languages, including JavaScript, Node.
Template engines are used when you want to rapidly build web applications that are split into different components. Templates also enable fast rendering of the server-side data that needs to be passed to the application. For example, you might want to have components such as body, navigation, footer, dashboard, etc.
Jade, Vash, and Handlebars are template engines that can be used with Node. js.
Liquid is a template language that allows us to display data in a template. Liquid has constructs such as output, logic, loops and deals with variables. Liquid files are a mixture of HTML and Liquid code, and have the . liquid file extension.
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With