Deploying to gh-pages from @ harttle/liquidjs@7e99efc513 🚀

This commit is contained in:
harttle
2022-01-28 17:27:54 +00:00
parent 59a0c0550f
commit 5b3a84961b
557 changed files with 3820 additions and 3137 deletions
+3 -2
View File
@@ -5,8 +5,9 @@
<title>过滤器里访问上下文 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/access-scope-in-filters.html">
<!-- Alternative links -->
@@ -113,7 +114,7 @@ engine<span class="token punctuation">.</span><span class="token function">regis
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="register-filters-tags.html" class="article-footer-prev" title="注册标签/过滤器"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="parse-parameters.html" class="article-footer-next" title="参数解析"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>缓存 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/caching.html">
<!-- Alternative links -->
@@ -122,7 +123,7 @@ engine<span class="token punctuation">.</span><span class="token function">rende
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="use-in-expressjs.html" class="article-footer-prev" title="Express.js 中使用"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="register-filters-tags.html" class="article-footer-next" title="注册标签/过滤器"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>更新日志 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/changelog.html">
<!-- Alternative links -->
@@ -508,7 +509,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:44:29.651Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:40.241Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="migrate-to-9.html" class="article-footer-prev" title="迁移到 LiquidJS 9"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="differences.html" class="article-footer-next" title="与 Shopify/liquid 的不同"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+10 -7
View File
@@ -5,8 +5,9 @@
<title>贡献指南 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/contribution-guidelines.html">
<!-- Alternative links -->
@@ -91,7 +92,7 @@
</header>
<div class="article-content" itemprop="articleBody">
<h2 id="Star-on-Github-👉" class="article-heading"><a href="#Star-on-Github-👉" class="headerlink" title="Star on Github 👉 "></a>Star on Github 👉 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs"><img src="https://img.shields.io/github/stars/harttle/liquidjs?style=flat-square" alt="harttle/liquidjs"></a><a class="article-anchor" href="#Star-on-Github-👉" aria-hidden="true"></a></h2><p>Star 是支持 LiquidJS 最重要的方式,也是最简单的方式:通过提升排名来让更多人了解 LiquidJS,让它得到更好的改进。</p>
<h2 id="Star-LiquidJS-👉👉👉" class="article-heading"><a href="#Star-LiquidJS-👉👉👉" class="headerlink" title="Star LiquidJS 👉👉👉 "></a>Star LiquidJS 👉👉👉 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs"><img src="https://img.shields.io/github/stars/harttle/liquidjs?style=flat-square" alt="harttle/liquidjs"></a><a class="article-anchor" href="#Star-LiquidJS-👉👉👉" aria-hidden="true"></a></h2><p>Star 是支持 LiquidJS 最重要的方式,也是最简单的方式:通过提升排名来让更多人了解 LiquidJS,让它得到更好的改进。</p>
<h2 id="发起-Pull-Request" class="article-heading"><a href="#发起-Pull-Request" class="headerlink" title="发起 Pull Request"></a>发起 Pull Request<a class="article-anchor" href="#发起-Pull-Request" aria-hidden="true"></a></h2><p><strong>代码风格</strong>LiquidJS 采用 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/standard/eslint-config-standard">standard</a><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/src/configs/recommended.json">@typescript-eslint/recommended</a> 规则,提交前确保可以通过风格检查:</p>
<pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">npm</span> run lint<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>
@@ -100,13 +101,15 @@
<p><strong>提交消息</strong>:请遵守 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#commits">Angular 提交消息规范</a>,尤其注意 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type">type 标识</a>semantic-release 机器人依赖这个标识自动发布。</p>
<p><strong>向后兼容</strong>:请考虑向后(之前的旧的版本)兼容。LiquidJS 被用于很多层的软件,包括底层库、编译器、站点生成器、 Web 服务器。对多数最终用户来说,驱动或请求整个系统做一次主版本升级是很难办到的。</p>
<h2 id="成为赞助者!" class="article-heading"><a href="#成为赞助者!" class="headerlink" title="成为赞助者!"></a>成为赞助者!<a class="article-anchor" href="#成为赞助者!" aria-hidden="true"></a></h2><p>LiquidJS 是开源和免费的。如果你喜欢 LiquidJS 或你的公司在使用 LiquidJS,请考虑通过 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://opencollective.com/liquidjs/">Open Collective</a><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.patreon.com/harttle">Patreon</a> 赞助,作为感谢你的名字和头像(或 Logo)会展示在这里,<a href="https://liquidjs.com/">LiquidJS 首页</a><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs">Github README</a></p>
<p><object type="image/svg+xml" data="https://opencollective.com/liquidjs/tiers/backer.svg?avatarHeight=72"></object></p>
<p><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.patreon.com/bePatron?u=32321060"><img src="../../icon/[email protected]" alt="Become a Patron!"></a></p>
<h2 id="资金支持" class="article-heading"><a href="#资金支持" class="headerlink" title="资金支持"></a>资金支持<a class="article-anchor" href="#资金支持" aria-hidden="true"></a></h2><p>LiquidJS 是开源和免费的,但支持 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://opencollective.com/liquidjs/">Open Collective</a><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.patreon.com/harttle">Patreon</a> 赞助,作为感谢你的名字和头像(或 Logo)会展示在这里,<a href="https://liquidjs.com/">LiquidJS 首页</a><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs">Github README</a></p>
<h3 id="支持者" class="article-heading"><a href="#支持者" class="headerlink" title="支持者"></a>支持者<a class="article-anchor" href="#支持者" aria-hidden="true"></a></h3><p>如果你喜欢 LiquidJS,希望支持我们,你可以成为 Open Collective Backer</p>
<p><object type="image/svg+xml" data="https://opencollective.com/liquidjs/backers.svg?avatarHeight=72"></object></p>
<h3 id="赞助商" class="article-heading"><a href="#赞助商" class="headerlink" title="赞助商"></a>赞助商<a class="article-anchor" href="#赞助商" aria-hidden="true"></a></h3><p>如果你的公司/业务在使用 LiquidJS,请考虑赞助我们!让 LiquidJS 变得更好,以及保持开放和免费!</p>
<p><object type="image/svg+xml" data="https://opencollective.com/liquidjs/sponsors.svg?avatarHeight=72"></object></p>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="differences.html" class="article-footer-prev" title="与 Shopify/liquid 的不同"><i class="icon-chevron-left"></i><span>上一页</span></a>
</footer>
</div>
@@ -115,7 +118,7 @@
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">目录</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Star-on-Github-%F0%9F%91%89"><span class="toc-text">Star on Github 👉 </span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%8F%91%E8%B5%B7-Pull-Request"><span class="toc-text">发起 Pull Request</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%88%90%E4%B8%BA%E8%B5%9E%E5%8A%A9%E8%80%85%EF%BC%81"><span class="toc-text">成为赞助者!</span></a></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Star-LiquidJS-%F0%9F%91%89%F0%9F%91%89%F0%9F%91%89"><span class="toc-text">Star LiquidJS 👉👉👉 </span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%8F%91%E8%B5%B7-Pull-Request"><span class="toc-text">发起 Pull Request</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%B5%84%E9%87%91%E6%94%AF%E6%8C%81"><span class="toc-text">资金支持</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%94%AF%E6%8C%81%E8%80%85"><span class="toc-text">支持者</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%B5%9E%E5%8A%A9%E5%95%86"><span class="toc-text">赞助商</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">回到顶部</a>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>和 Shopify/liquid 的区别 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/differences.html">
<!-- Alternative links -->
@@ -106,7 +107,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="changelog.html" class="article-footer-prev" title="更新日志"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="contribution-guidelines.html" class="article-footer-next" title="贡献指南"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>Liquid 模板语言 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Liquid 模板语言的介绍,和一些示例代码">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/intro-to-liquid.html">
<!-- Alternative links -->
@@ -124,7 +125,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="setup.html" class="article-footer-next" title="安装"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>迁移到 LiquidJS 9 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/migrate-to-9.html">
<!-- Alternative links -->
@@ -115,7 +116,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="truthy-and-falsy.html" class="article-footer-prev" title="真和假"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="changelog.html" class="article-footer-next" title="更新日志"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>运算符 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/operators.html">
<!-- Alternative links -->
@@ -105,7 +106,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="plugins.html" class="article-footer-prev" title="插件"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="truthy-and-falsy.html" class="article-footer-next" title="真和假"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+4 -2
View File
@@ -5,8 +5,9 @@
<title>选项 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/options.html">
<!-- Alternative links -->
@@ -155,6 +156,7 @@
<h2 id="严格模式" class="article-heading"><a href="#严格模式" class="headerlink" title="严格模式"></a>严格模式<a class="article-anchor" href="#严格模式" aria-hidden="true"></a></h2><p><strong>strictFilters</strong> 用来启用过滤器的严格模式,如果设置为 <code>true</code> 过滤器不存在时解析会抛出异常。默认为 <code>false</code>,这时会跳过不存在的过滤器。</p>
<p><strong>strictVariables</strong> 用来启用变量严格模式。如果设置为 <code>true</code> 变量不存在时渲染会抛出异常,默认为 <code>false</code> 这时不存在的变量会被渲染为空字符串。</p>
<p><strong>ownPropertyOnly</strong> 用来隐藏原型上的变量,如果你需要把未经处理过的对象传递给模板时,可以设置 <code>ownPropertyOnly</code><code>true</code>,默认为 <code>false</code></p>
<blockquote class="note info"><strong class="note-title">不存在的标签</strong><p>不存在的标签总是会抛出一个解析异常,这一行为无法自定义。</p>
</blockquote>
@@ -162,7 +164,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="setup.html" class="article-footer-prev" title="安装"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="render-file.html" class="article-footer-next" title="文件渲染"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>参数解析 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/parse-parameters.html">
<!-- Alternative links -->
@@ -161,7 +162,7 @@ engine<span class="token punctuation">.</span><span class="token function">regis
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="access-scope-in-filters.html" class="article-footer-prev" title="过滤器里访问上下文"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="render-tag-content.html" class="article-footer-next" title="渲染标签内容"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>引用和继承 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/partials-and-layouts.html">
<!-- Alternative links -->
@@ -131,7 +132,7 @@ Footer<span aria-hidden="true" class="line-numbers-rows"><span></span><span></sp
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="render-file.html" class="article-footer-prev" title="文件渲染"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="use-in-expressjs.html" class="article-footer-next" title="Express.js 中使用"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>插件 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/plugins.html">
<!-- Alternative links -->
@@ -120,7 +121,7 @@ engine<span class="token punctuation">.</span><span class="token function">parse
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="whitespace-control.html" class="article-footer-prev" title="换行和缩进"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="operators.html" class="article-footer-next" title="运算符"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>注册标签和过滤器 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/register-filters-tags.html">
<!-- Alternative links -->
@@ -134,7 +135,7 @@ engine<span class="token punctuation">.</span><span class="token function">regis
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="caching.html" class="article-footer-prev" title="缓存"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="access-scope-in-filters.html" class="article-footer-next" title="过滤器里访问上下文"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>渲染文件 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/render-file.html">
<!-- Alternative links -->
@@ -165,7 +166,7 @@ engine<span class="token punctuation">.</span><span class="token function">rende
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="options.html" class="article-footer-prev" title="选项"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="partials-and-layouts.html" class="article-footer-next" title="引用/继承"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>渲染标签内容 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/render-tag-content.html">
<!-- Alternative links -->
@@ -187,7 +188,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="parse-parameters.html" class="article-footer-prev" title="参数解析"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="sync-and-async.html" class="article-footer-next" title="同步和异步"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>安装和使用 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/setup.html">
<!-- Alternative links -->
@@ -136,7 +137,7 @@ engine
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="intro-to-liquid.html" class="article-footer-prev" title="Liquid 简介"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="options.html" class="article-footer-next" title="选项"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>同步和异步 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/sync-and-async.html">
<!-- Alternative links -->
@@ -156,7 +157,7 @@ engine<span class="token punctuation">.</span><span class="token function">regis
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="render-tag-content.html" class="article-footer-prev" title="渲染标签内容"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="whitespace-control.html" class="article-footer-next" title="换行和缩进"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>真和假 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/truthy-and-falsy.html">
<!-- Alternative links -->
@@ -225,7 +226,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="operators.html" class="article-footer-prev" title="运算符"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="migrate-to-9.html" class="article-footer-next" title="迁移到 LiquidJS 9"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>在 Express.js 里使用 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/use-in-expressjs.html">
<!-- Alternative links -->
@@ -134,7 +135,7 @@ res<span class="token punctuation">.</span><span class="token function">render</
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="partials-and-layouts.html" class="article-footer-prev" title="引用/继承"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="caching.html" class="article-footer-next" title="缓存"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+3 -2
View File
@@ -5,8 +5,9 @@
<title>空白字符控制 | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LiquidJS is a simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/tutorials/whitespace-control.html">
<!-- Alternative links -->
@@ -120,7 +121,7 @@ harttle<span aria-hidden="true" class="line-numbers-rows"><span></span><span></s
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2022-01-28T14:43:54.969Z" itemprop="dateModified">上次更新:2022-01-28</time>
<time class="article-footer-updated" datetime="2022-01-28T17:27:04.497Z" itemprop="dateModified">上次更新:2022-01-28</time>
<a href="sync-and-async.html" class="article-footer-prev" title="同步和异步"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="plugins.html" class="article-footer-next" title="插件"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>