mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
268 lines
22 KiB
HTML
268 lines
22 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head prefix="og: http://ogp.me/ns#">
|
|
<meta charset="utf-8">
|
|
<title>LiquidJS</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
|
|
<link rel="manifest" href="/manifest.json">
|
|
<!-- Canonical links -->
|
|
<link rel="canonical" href="https://liquidjs.com/index.html">
|
|
<!-- Alternative links -->
|
|
|
|
|
|
<link rel="alternative" hreflang="en" href="https://liquidjs.com/">
|
|
|
|
<link rel="alternative" hreflang="zh-cn" href="https://liquidjs.com/zh-cn/">
|
|
|
|
|
|
<!-- Icon -->
|
|
<link rel="apple-touch-icon" sizes="57x57" href="icon/apple-touch-icon-57x57.png">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="icon/apple-touch-icon-114x114.png">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="icon/apple-touch-icon-72x72.png">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="icon/apple-touch-icon-144x144.png">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="icon/apple-touch-icon-60x60.png">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="icon/apple-touch-icon-120x120.png">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="icon/apple-touch-icon-76x76.png">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="icon/apple-touch-icon-152x152.png">
|
|
<link rel="icon" type="image/png" href="icon/favicon-196x196.png" sizes="196x196">
|
|
<link rel="icon" type="image/png" href="icon/favicon-160x160.png" sizes="160x160">
|
|
<link rel="icon" type="image/png" href="icon/favicon-96x96.png" sizes="96x96">
|
|
<link rel="icon" type="image/png" href="icon/favicon-16x16.png" sizes="16x16">
|
|
<link rel="icon" type="image/png" href="icon/favicon-32x32.png" sizes="32x32">
|
|
<meta name="msapplication-TileColor" content="#2f83cd">
|
|
<meta name="msapplication-TileImage" content="icon/mstile-144x144.png">
|
|
|
|
<link rel="stylesheet" href="css/navy.css">
|
|
|
|
<link rel="alternate" href="atom.xml" title="LiquidJS">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="container">
|
|
<header id="header" class="wrapper">
|
|
<div id="header-inner" class="inner">
|
|
<h1 id="logo-wrap">
|
|
<a href="index.html" id="logo">LiquidJS</a>
|
|
</h1>
|
|
<nav id="main-nav">
|
|
<a href="/tutorials/setup.html" class="main-nav-link">Tutorials</a><a href="/tags/overview.html" class="main-nav-link">Tags</a><a href="/filters/overview.html" class="main-nav-link">Filters</a><a href="/playground.html" class="main-nav-link">Playground</a><a href="/api/classes/liquid_.liquid.html" class="main-nav-link">API</a>
|
|
<div id="search-input-wrap">
|
|
<i id="search-input-icon" class="icon-search"></i>
|
|
<input type="search" id="search-input" placeholder="Search...">
|
|
</div>
|
|
</nav>
|
|
<div id="lang-select-wrap" class="main-nav-link">
|
|
<label><i class="icon-network"></i>English</label>
|
|
<select id="lang-select" data-canonical="">
|
|
|
|
<option value="en" selected>English</option>
|
|
|
|
<option value="zh-cn">简体中文</option>
|
|
|
|
</select>
|
|
</div>
|
|
<a href="https://github.com/harttle/liquidjs" target="_blank" rel="noopener external nofollow noreferrer" id="github-link-wrap" class="main-nav-link"><i class="icon-github"></i>Github</a>
|
|
<a id="mobile-nav-toggle">
|
|
<span class="mobile-nav-toggle-bar"></span>
|
|
<span class="mobile-nav-toggle-bar"></span>
|
|
<span class="mobile-nav-toggle-bar"></span>
|
|
</a>
|
|
</div>
|
|
</header>
|
|
|
|
<header id="banner" class="wrapper">
|
|
<div class="inner">
|
|
<h2 id="banner-title">A simple, expressive and safe template engine.</h2>
|
|
<div id="banner-start">
|
|
<code id="banner-start-command">npm install liquidjs</code><a id="banner-start-link" href="./tutorials/setup.html"><i class="icon-arrow-right"></i></a>
|
|
</div>
|
|
<div id="banner-share"><!-- GitHub star -->
|
|
<a href="https://github.com/harttle/liquidjs" rel="external nofollow noreferrer" target="_blank" aria-label="Star harttle/liquidjs on GitHub"><img src="https://img.shields.io/github/stars/harttle/liquidjs?style=flat-square" alt="Star"></a>
|
|
<!-- NPM Download -->
|
|
<a href="https://www.npmjs.com/package/liquidjs" rel="external nofollow noreferrer" target="_blank" aria-label="LiquidJS on NPM"><img src ="https://img.shields.io/npm/dm/liquidjs?logo=npm&style=flat-square" alt="NPM Downloads"></a>
|
|
<!-- Contributors button -->
|
|
<a href="https://github.com/harttle/liquidjs/graphs/contributors" rel="external nofollow noreferrer" target="_blank" aria-label="Contributors of LiquidJS on Github"><img src="https://img.shields.io/github/contributors/harttle/liquidjs.svg?style=flat-square" alt="Contributors of LiquidJS on Github"></a>
|
|
<!-- Open Collective button -->
|
|
<a href="https://opencollective.com/liquidjs/" rel="external nofollow noreferrer" target="_blank" aria-label="Donate to LiquidJS on Open Collective"><img src="https://img.shields.io/opencollective/all/liquidjs?style=flat-square" alt="Donate to LiquidJS on Open Collective"></a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div id="intro-news-list">
|
|
<div class="wrapper">
|
|
<div class="inner">
|
|
<div id="intro-news-flex">
|
|
|
|
<a href="https://github.com/harttle/liquidjs/pull/5" target="_blank" rel="noopener external nofollow noreferrer" class="intro-news-wrap">
|
|
<div class="intro-news-time">2016-09-12</div>
|
|
<div class="intro-news-title">Async spike: rewrite the parser and render to support Promise, which enables async tags.</div>
|
|
</a>
|
|
|
|
<a href="https://opencollective.com/liquidjs/#section-contribute" target="_blank" rel="noopener external nofollow noreferrer" class="intro-news-wrap">
|
|
<div class="intro-news-time">2020-02-26</div>
|
|
<div class="intro-news-title">Backers: the first backer contributed to LiquidJS via Open Collective.</div>
|
|
</a>
|
|
|
|
<a href="https://github.com/harttle/liquidjs/pull/202" target="_blank" rel="noopener external nofollow noreferrer" class="intro-news-wrap">
|
|
<div class="intro-news-time">2020-03-11</div>
|
|
<div class="intro-news-title">Memory Optimization: a more elaborate parser reducing the memory footprint by 57.7%.</div>
|
|
</a>
|
|
|
|
<a href="https://github.com/harttle/liquidjs/pull/205" target="_blank" rel="noopener external nofollow noreferrer" class="intro-news-wrap">
|
|
<div class="intro-news-time">2020-03-15</div>
|
|
<div class="intro-news-title">Performance Boost: a simple AST to improve render performance by 100.3%.</div>
|
|
</a>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="content-wrap">
|
|
<div class="wrapper">
|
|
<div class="inner">
|
|
<ul id="intro-feature-list"><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="icon-shield"></i></div><h3 class="intro-feature-title">Safe Rendering</h3><p class="intro-feature-desc">Liquid templates are highly readable and fault-tolerant thus suitable for designers and customers. Operators and expressions are parsed to AST and no <code>eval</code> or <code>new Function</code> are used. </p></div></li><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="icon-rocket"></i></div><h3 class="intro-feature-title">Zero Dependency</h3><p class="intro-feature-desc">Written with zero npm dependency and no native binding, available in both Node.js and browsers. All of the CMD, ESM and CJS bundles are available on CDN.</p></div></li><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="icon-shopify"></i></div><h3 class="intro-feature-title">Shopify Compatible</h3><p class="intro-feature-desc">All filters and tags from Ruby <a href="https://github.com/shopify/liquid" target="_blank" rel="noopener external nofollow noreferrer">shopify/liquid</a> are supported by LiquidJS. <a href="https://jekyllrb.com/" target="_blank" rel="noopener external nofollow noreferrer">Jekyll sites</a>, <a href="https://pages.github.com/" target="_blank" rel="noopener external nofollow noreferrer">Github Pages</a> and <a href="https://themes.shopify.com/" target="_blank" rel="noopener external nofollow noreferrer">Shopify templates</a> can be ported to Node.js without pain.</p></div></li><li class="intro-feature-wrap"><div class="intro-feature"><div class="intro-feature-icon"><i class="icon-typescript"></i></div><h3 class="intro-feature-title">TypeScript Strict</h3><p class="intro-feature-desc">The whole repo is re-written in TypeScript strict mode to ensure a smooth experience using this lib and the document is precise and always up to date.</p></div></li></ul>
|
|
<ul id="intro-cmd-wrap">
|
|
<li class="intro-code-item"><span class="hl">import</span> { Liquid } <span class="hl">from</span> 'liquidjs'</li>
|
|
<li class="intro-code-item"><span class="hl">const</span> engine = <span class="hl">new</span> Liquid()</li>
|
|
<li class="intro-code-item"><span class="hl">const</span> tpl = engine.parse(<span class="hl-str">'Welcome to {{v}}!'</span>)</li>
|
|
<li class="intro-code-item">engine.render(tpl, {v: "Liquid"}).then(console.log)</li>
|
|
<li class="intro-code-item"><span class="hl-comment">// Outputs "Welcome to Liquid!"</span></li>
|
|
</ul>
|
|
<div id="intro-get-started-wrap">
|
|
<a href="tutorials/setup.html" id="intro-get-started-link">Get Started</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="contributors-wrap">
|
|
<div class="wrapper">
|
|
<div class="inner">
|
|
<h3>Contributors</h3>
|
|
<p class="description">LiquidJS follows the <a href="https://github.com/all-contributors/all-contributors" target="_blank" rel="noopener external nofollow noreferrer">all-contributors</a> specification, see <a href="tutorials/contribution-guidelines.html">guildelines here</a>! Thanks goes to these wonderful people:</p>
|
|
<div class="all-contributors">
|
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
<!-- prettier-ignore-start -->
|
|
<!-- markdownlint-disable -->
|
|
<table>
|
|
<tr>
|
|
<td align="center"><a href="https://harttle.land" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/4427974?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/chenos" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/2993310?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://zachleat.com/" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars2.githubusercontent.com/u/39355?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/thardy" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/120636?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://paulrobertlloyd.com/" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/813383?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://twitter.com/alecdotbiz" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars2.githubusercontent.com/u/1925840?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/pmalouin" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars1.githubusercontent.com/u/1411117?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://jaswrks.com" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/1563559?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://oott123.com" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars2.githubusercontent.com/u/905663?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/ssendev" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/450793?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/wojtask9" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/6099236?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/thelornenelson" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/24596583?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://www.stam.pr/" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars2.githubusercontent.com/u/142338?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/thehappybug" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/3393530?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/robinbijlani" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/2503108?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://www.rmkennedy.com" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/8356669?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/strax" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars2.githubusercontent.com/u/587213?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://ScottFreeCode.github.io/" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/16506071?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="http://stevenrescigno.com" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/8505293?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://efcl.info/" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars1.githubusercontent.com/u/19714?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/wyozi" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/4894573?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/jamelait" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars1.githubusercontent.com/u/14369255?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://brandonpittman.net" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/967145?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/tgrandgent" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/17069042?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/mastodon0" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars1.githubusercontent.com/u/7924332?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="http://js.chenlei.me" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/6339390?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/CriGoT" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/1936786?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://www.raymondcamden.com" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/393660?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://stedman.dev" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars1.githubusercontent.com/u/183122?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://ciccarello.me" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/11273838?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://twitter.com/IAmTrySound" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/5635476?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://hightouch.io" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/5959235?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="http://about.me/peterdehaan" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars2.githubusercontent.com/u/557895?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/amit777" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/2703309?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="http://www.ifi.uzh.ch/en/ce/people/schuldenzucker.html" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars3.githubusercontent.com/u/1100776?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/Pixcell" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars0.githubusercontent.com/u/4005291?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://jasonet.co" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars.githubusercontent.com/u/10660468?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/kayuapi" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars.githubusercontent.com/u/10304328?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://memmie.lenglet.name" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars.githubusercontent.com/u/729275?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
<td align="center"><a href="https://github.com/ilhamdev0" target="_blank" rel="noopener external nofollow noreferrer"><img src="https://avatars.githubusercontent.com/u/57636145?v=4?s=100" width="100px;" alt=""/></a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- markdownlint-restore -->
|
|
<!-- prettier-ignore-end -->
|
|
|
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="sponsors-wrap">
|
|
<div class="wrapper">
|
|
<div class="inner">
|
|
<h3>Backers</h3>
|
|
<p class="description">Love LiquidJS and want to contribute? <a href="https://opencollective.com/liquidjs" target="_blank" rel="noopener external nofollow noreferrer">Become a backer</a>. Find out more <a href="tutorials/contribution-guidelines.html#Financial-Support">how to contribute</a>!</p>
|
|
<div class="open-collective">
|
|
<object type="image/svg+xml" data="https://opencollective.com/liquidjs/tiers/backer.svg?avatarHeight=72"></object>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer id="footer" class="wrapper">
|
|
<div class="inner">
|
|
<div id="footer-copyright">
|
|
© 2021 <a href="https://github.com/harttle/liquidjs/graphs/contributors" rel="external nofollow noreferrer" target="_blank">Harttle</a><br>
|
|
Documentation licensed under <a href="http://creativecommons.org/licenses/by/4.0/" rel="external nofollow noreferrer" target="_blank">CC BY 4.0</a>.
|
|
</div>
|
|
<div id="footer-links">
|
|
<a href="https://twitter.com/harttleharttle" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-twitter"></i></a>
|
|
<a href="https://www.patreon.com/harttle" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-patreon"></i></a>
|
|
<a href="https://opencollective.com/liquidjs" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-opencollective"></i></a>
|
|
<a href="https://github.com/harttle/liquidjs" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-github"></i></a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
<div id="mobile-nav-dimmer"></div>
|
|
<nav id="mobile-nav">
|
|
<div id="mobile-nav-inner">
|
|
<ul id="mobile-nav-list">
|
|
<a href="/tutorials/setup.html" class="mobile-nav-link">Tutorials</a><a href="/tags/overview.html" class="mobile-nav-link">Tags</a><a href="/filters/overview.html" class="mobile-nav-link">Filters</a><a href="/playground.html" class="mobile-nav-link">Playground</a><a href="/api/classes/liquid_.liquid.html" class="mobile-nav-link">API</a>
|
|
<li class="mobile-nav-item">
|
|
<a href="https://github.com/harttle/liquidjs" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
<div id="mobile-lang-select-wrap">
|
|
<span id="mobile-lang-select-label"><i class="icon-network"></i><span>English</span></span>
|
|
<select id="mobile-lang-select" data-canonical="">
|
|
|
|
<option value="en" selected>English</option>
|
|
|
|
<option value="zh-cn">简体中文</option>
|
|
|
|
</select>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
|
|
<script src="js/main.js"></script>
|
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
|
<script>
|
|
document.getElementById('search-input-wrap').classList.add('on');
|
|
docsearch({
|
|
apiKey: '01f36cc168657a26a385308b9e721bc6',
|
|
indexName: 'liquidjs',
|
|
inputSelector: '#search-input',
|
|
debug: false
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |