liquid 转html页面,liquidjs-JavaScript中文网-JavaScript教程资源分享门户

A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.

liquidjs

liquidjs.svg

liquidjs.svg

liquidjs.svg

liquidjs.svg?branch=master

liquidjs.svg

liquidjs.svg

liquidjs

liquidjs.svg

liquidjs.svg

vibe-d.svg

commitizen-friendly-brightgreen.svg

%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg

A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.

The purpose of this repo is to provide a standard Liquid implementation for the JavaScript community so that Jekyll sites, Github Pages and Shopify templates can be ported to Node.js without pain.

2eba60a6d156c9a67d7ef34b57666439.png

Installation

Install from npm in Node.js:

npm install --save liquidjs

Or use the UMD bundle from jsDelivr:

More details, refer to The Setup Guide.

Related Packages

gulp-liquidjs: A shopify compatible Liquid template engine for Gulp using liquidjs.

grunt-liquify: A Grunt task to process Liquid using liquidjs. Use it to add Liquid magic to your scripts and css assets.

react-liquid: Liquid templating language component for React

@11ty/eleventy: A simpler static site generator. An alternative to Jekyll. Written in JavaScript. Transforms a directory of templates (of varying types) into HTML.

Backers

If you love LiquidJS or your company is using LiquidJS? Please consider support us on Open Collective or Patreon.

backer.svg?avatarHeight=97

Contributors ✨

Want to contribute? see Contribution Guidelines. Thanks goes to these wonderful people:

HomePage

Repository