Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Liquid templating for Node.js [closed]

Tags:

node.js

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 :)

like image 250
balupton Avatar asked Mar 23 '11 21:03

balupton


People also ask

Which templating engine is best for Node JS?

Mustache is one of the most widely known templating systems that works for a number of programming languages, including JavaScript, Node.

Is templating engine necessary?

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.

Is Jade template engines can be used with node js?

Jade, Vash, and Handlebars are template engines that can be used with Node. js.

What is Liquid templating?

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.


2 Answers

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

like image 146
Steven Garcia Avatar answered Sep 28 '22 08:09

Steven Garcia


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

like image 45
balupton Avatar answered Sep 28 '22 06:09

balupton