mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 04:40:39 -07:00
- Make the docs English-only by removing all zh-cn content, the language switcher UI, and related JS/config - Rework homepage feature cards (Safe & Typed, Pure JavaScript, Shopify & Jekyll, Streaming) and refresh section colors/layout - Replace buttons.github.io with custom Star/Sponsor buttons featuring a live star count and dark-mode support - Drop the buttons.js script and tidy banner, header, footer, and share partials Co-authored-by: Cursor <[email protected]>
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
layout: index
|
|
description: LiquidJS is a simple, expressive and safe Shopify / GitHub Pages compatible template engine in pure JavaScript.
|
|
subtitle: A simple, expressive and safe template engine.
|
|
---
|
|
ul#intro-feature-list
|
|
li.intro-feature-wrap
|
|
.intro-feature
|
|
.intro-feature-icon
|
|
i.icon-shield
|
|
h3.intro-feature-title Safe & Typed
|
|
p.intro-feature-desc Templates are readable and fault-tolerant, parsed to an AST with no #[code eval] or #[code new Function]. The whole repo is written in TypeScript strict mode, so types stay precise and docs accurate.
|
|
li.intro-feature-wrap
|
|
.intro-feature
|
|
.intro-feature-icon
|
|
i.icon-rocket
|
|
h3.intro-feature-title Pure JavaScript
|
|
p.intro-feature-desc Written in pure JavaScript with no native bindings, running in both Node.js and the browser. The CMD, ESM and CJS bundles are all available on CDN.
|
|
li.intro-feature-wrap
|
|
.intro-feature
|
|
.intro-feature-icon
|
|
i.icon-shopify
|
|
h3.intro-feature-title Shopify & Jekyll
|
|
p.intro-feature-desc All filters and tags from Ruby #[a(href="https://github.com/shopify/liquid") shopify/liquid] are supported, so #[a(href="https://themes.shopify.com/") Shopify templates] work out of the box — as do #[a(href="https://jekyllrb.com/") Jekyll] sites and #[a(href="https://pages.github.com/") GitHub Pages].
|
|
li.intro-feature-wrap
|
|
.intro-feature
|
|
.intro-feature-icon
|
|
i.icon-network
|
|
h3.intro-feature-title Streaming
|
|
p.intro-feature-desc Render directly to a Node.js stream with #[code renderToNodeStream], emitting output as it's produced — for a faster time to first byte and low memory usage on large pages. |