Deploying to gh-pages from @ harttle/liquidjs@e09657c52b 🚀

This commit is contained in:
harttle
2024-04-21 07:58:41 +00:00
parent 4d4d782cd6
commit 797e8109a8
209 changed files with 1577 additions and 1107 deletions
+1 -1
View File
@@ -116,7 +116,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="overview.html" class="article-footer-prev" title="概述"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="append.html" class="article-footer-next" title="sidebar.filters.append"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -112,7 +112,7 @@ website.com/index.html<span aria-hidden="true" class="line-numbers-rows"><span><
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="abs.html" class="article-footer-prev" title="sidebar.filters.abs"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="at_least.html" class="article-footer-next" title="sidebar.filters.at_least"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="append.html" class="article-footer-prev" title="sidebar.filters.append"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="at_most.html" class="article-footer-next" title="sidebar.filters.at_most"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="at_least.html" class="article-footer-prev" title="sidebar.filters.at_least"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="capitalize.html" class="article-footer-next" title="sidebar.filters.capitalize"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -110,7 +110,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="at_most.html" class="article-footer-prev" title="sidebar.filters.at_most"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="ceil.html" class="article-footer-next" title="sidebar.filters.ceil"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -122,7 +122,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="capitalize.html" class="article-footer-prev" title="sidebar.filters.capitalize"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="compact.html" class="article-footer-next" title="sidebar.filters.compact"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -129,7 +129,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="ceil.html" class="article-footer-prev" title="sidebar.filters.ceil"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="concat.html" class="article-footer-next" title="sidebar.filters.concat"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -136,7 +136,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="compact.html" class="article-footer-prev" title="sidebar.filters.compact"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="date.html" class="article-footer-next" title="sidebar.filters.date"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+12 -1
View File
@@ -95,6 +95,17 @@
<p class="since">v1.9.1</p>
<p>把时间戳转换为字符串。LiquidJS 尝试跟 Shopify/Liquid 保持一致,它用的是 Ruby 核心的 <a target="_blank" rel="noopener external nofollow noreferrer" href="http://www.ruby-doc.org/core/Time.html#method-i-strftime">Time#strftime(string)</a>。此外 LiquidJS 会先通过 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date">new Date()</a> 尝试把输入转换为 Date 对象。</p>
<p>但 LiquidJS 支持的格式与 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://ruby-doc.org/core/strftime_formatting_rdoc.html">Ruby 的 flag</a> 有些不同:</p>
<ul>
<li><code>%Z</code>(自 v10.11.1 起支持)只有在传入了时区时才起作用(可以通过 <code>LiquidOption</code> 传入,也可以在创建日期时单独传入,见下文)。如果传入的时区是个数字,那么它的表现将会与 <code>%z</code> 相同。如果没有传入时区,将会返回 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions#timezone">运行时默认时区</a></li>
<li>LiquidJS 提供额外的 <code>%q</code> 用来处理序数:<code>&#123;&#123; '2023/02/02' | date: '%d%q of %b'&#125;&#125;</code> =&gt; <code>02nd of Feb</code><ul>
<li>日期字面量会通过 [new Date()][jsDate] 转化为 <code>Date</code> 对象,这意味着字面量默认使用运行时默认时区。</li>
<li>格式字参数是可选的:</li>
<li>如果不传,默认为 <code>%A, %B %-e, %Y at %-l:%M %P %z</code></li>
<li>上述默认值可以通过 <a href="/api/interfaces/LiquidOptions.html#dateFormat"><code>dateFormat</code></a> 参数覆盖。</li>
</ul>
</li>
</ul>
<p>输入</p>
<pre class="line-numbers language-liquid" data-language="liquid"><code class="language-liquid"><span class="token liquid language-liquid"><span class="token delimiter punctuation">&#123;&#123;</span> <span class="token object">article</span><span class="token punctuation">.</span>published_at <span class="token operator">|</span> <span class="token object">date</span><span class="token operator">:</span> <span class="token string">"%a, %b %d, %y"</span> <span class="token delimiter punctuation">&#125;&#125;</span></span><span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>
@@ -143,7 +154,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="concat.html" class="article-footer-prev" title="sidebar.filters.concat"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="default.html" class="article-footer-next" title="sidebar.filters.default"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -130,7 +130,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="date.html" class="article-footer-prev" title="sidebar.filters.date"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="divided_by.html" class="article-footer-next" title="sidebar.filters.divided_by"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -121,7 +121,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="default.html" class="article-footer-prev" title="sidebar.filters.default"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="downcase.html" class="article-footer-next" title="sidebar.filters.downcase"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="divided_by.html" class="article-footer-prev" title="sidebar.filters.divided_by"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="escape.html" class="article-footer-next" title="sidebar.filters.escape"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -111,7 +111,7 @@ Have you read &amp;#39;James &amp;amp; the Giant Peach&amp;#39;?
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="downcase.html" class="article-footer-prev" title="sidebar.filters.downcase"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="escape_once.html" class="article-footer-next" title="sidebar.filters.escape_once"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="escape.html" class="article-footer-prev" title="sidebar.filters.escape"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="find.html" class="article-footer-next" title="sidebar.filters.find"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="escape_once.html" class="article-footer-prev" title="sidebar.filters.escape_once"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="find_exp.html" class="article-footer-next" title="sidebar.filters.find_exp"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="find.html" class="article-footer-prev" title="sidebar.filters.find"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="first.html" class="article-footer-next" title="sidebar.filters.first"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -116,7 +116,7 @@ zebra<span aria-hidden="true" class="line-numbers-rows"><span></span><span></spa
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="find_exp.html" class="article-footer-prev" title="sidebar.filters.find_exp"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="floor.html" class="article-footer-next" title="sidebar.filters.floor"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -122,7 +122,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="first.html" class="article-footer-prev" title="sidebar.filters.first"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="group_by.html" class="article-footer-next" title="sidebar.filters.group_by"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -132,7 +132,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="floor.html" class="article-footer-prev" title="sidebar.filters.floor"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="group_by_exp.html" class="article-footer-next" title="sidebar.filters.group_by_exp"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -132,7 +132,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="group_by.html" class="article-footer-prev" title="sidebar.filters.group_by"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="join.html" class="article-footer-next" title="sidebar.filters.join"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -105,7 +105,7 @@ John and Paul and George and Ringo<span aria-hidden="true" class="line-numbers-r
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="group_by_exp.html" class="article-footer-prev" title="sidebar.filters.group_by_exp"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="json.html" class="article-footer-next" title="sidebar.filters.json"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -118,7 +118,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="join.html" class="article-footer-prev" title="sidebar.filters.join"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="last.html" class="article-footer-next" title="sidebar.filters.last"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -116,7 +116,7 @@ tiger<span aria-hidden="true" class="line-numbers-rows"><span></span><span></spa
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="json.html" class="article-footer-prev" title="sidebar.filters.json"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="lstrip.html" class="article-footer-next" title="sidebar.filters.lstrip"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="last.html" class="article-footer-prev" title="sidebar.filters.last"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="map.html" class="article-footer-next" title="sidebar.filters.map"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -112,7 +112,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="lstrip.html" class="article-footer-prev" title="sidebar.filters.lstrip"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="minus.html" class="article-footer-next" title="sidebar.filters.minus"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="map.html" class="article-footer-prev" title="sidebar.filters.map"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="modulo.html" class="article-footer-next" title="sidebar.filters.modulo"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="minus.html" class="article-footer-prev" title="sidebar.filters.minus"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="newline_to_br.html" class="article-footer-next" title="sidebar.filters.newline_to_br"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@ there
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="modulo.html" class="article-footer-prev" title="sidebar.filters.modulo"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="plus.html" class="article-footer-next" title="sidebar.filters.plus"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -129,7 +129,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="abs.html" class="article-footer-next" title="sidebar.filters.abs"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="newline_to_br.html" class="article-footer-prev" title="sidebar.filters.newline_to_br"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="pop.html" class="article-footer-next" title="sidebar.filters.pop"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -110,7 +110,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="plus.html" class="article-footer-prev" title="sidebar.filters.plus"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="push.html" class="article-footer-next" title="sidebar.filters.push"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -112,7 +112,7 @@ example.com/index.html<span aria-hidden="true" class="line-numbers-rows"><span><
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="push.html" class="article-footer-prev" title="sidebar.filters.push"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="raw.html" class="article-footer-next" title="sidebar.filters.raw"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -111,7 +111,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="pop.html" class="article-footer-prev" title="sidebar.filters.pop"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="prepend.html" class="article-footer-next" title="sidebar.filters.prepend"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -125,7 +125,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="prepend.html" class="article-footer-prev" title="sidebar.filters.prepend"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="remove.html" class="article-footer-next" title="sidebar.filters.remove"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="raw.html" class="article-footer-prev" title="sidebar.filters.raw"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="remove_first.html" class="article-footer-next" title="sidebar.filters.remove_first"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="remove.html" class="article-footer-prev" title="sidebar.filters.remove"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="remove_last.html" class="article-footer-next" title="sidebar.filters.remove_last"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="remove_first.html" class="article-footer-prev" title="sidebar.filters.remove_first"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="replace.html" class="article-footer-next" title="sidebar.filters.replace"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="remove_last.html" class="article-footer-prev" title="sidebar.filters.remove_last"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="replace_first.html" class="article-footer-next" title="sidebar.filters.replace_first"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="replace.html" class="article-footer-prev" title="sidebar.filters.replace"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="replace_last.html" class="article-footer-next" title="sidebar.filters.replace_last"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="replace_first.html" class="article-footer-prev" title="sidebar.filters.replace_first"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="reverse.html" class="article-footer-next" title="sidebar.filters.reverse"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -114,7 +114,7 @@ plums, peaches, oranges, apples<span aria-hidden="true" class="line-numbers-rows
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="replace_last.html" class="article-footer-prev" title="sidebar.filters.replace_last"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="round.html" class="article-footer-next" title="sidebar.filters.round"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="reverse.html" class="article-footer-prev" title="sidebar.filters.reverse"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="rstrip.html" class="article-footer-next" title="sidebar.filters.rstrip"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="round.html" class="article-footer-prev" title="sidebar.filters.round"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="shift.html" class="article-footer-next" title="sidebar.filters.shift"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -110,7 +110,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="rstrip.html" class="article-footer-prev" title="sidebar.filters.rstrip"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="size.html" class="article-footer-next" title="sidebar.filters.size"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -118,7 +118,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="shift.html" class="article-footer-prev" title="sidebar.filters.shift"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="slice.html" class="article-footer-next" title="sidebar.filters.slice"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -122,7 +122,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="size.html" class="article-footer-prev" title="sidebar.filters.size"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="sort.html" class="article-footer-next" title="sidebar.filters.sort"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -113,7 +113,7 @@ Sally Snake, giraffe, octopus, zebra<span aria-hidden="true" class="line-numbers
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="slice.html" class="article-footer-prev" title="sidebar.filters.slice"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="sort_natural.html" class="article-footer-next" title="sidebar.filters.sort_natural"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -113,7 +113,7 @@ giraffe, octopus, Sally Snake, zebra<span aria-hidden="true" class="line-numbers
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="sort.html" class="article-footer-prev" title="sidebar.filters.sort"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="split.html" class="article-footer-next" title="sidebar.filters.split"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -117,7 +117,7 @@ Ringo<span aria-hidden="true" class="line-numbers-rows"><span></span><span></spa
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="sort_natural.html" class="article-footer-prev" title="sidebar.filters.sort_natural"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="strip.html" class="article-footer-next" title="sidebar.filters.strip"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="split.html" class="article-footer-prev" title="sidebar.filters.split"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="strip_html.html" class="article-footer-next" title="sidebar.filters.strip_html"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="strip.html" class="article-footer-prev" title="sidebar.filters.strip"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="strip_newlines.html" class="article-footer-next" title="sidebar.filters.strip_newlines"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@ Hellothere<span aria-hidden="true" class="line-numbers-rows"><span></span><span>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="strip_html.html" class="article-footer-prev" title="sidebar.filters.strip_html"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="sum.html" class="article-footer-next" title="sidebar.filters.sum"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -115,7 +115,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="sum.html" class="article-footer-prev" title="sidebar.filters.sum"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="truncate.html" class="article-footer-next" title="sidebar.filters.truncate"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -117,7 +117,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="times.html" class="article-footer-prev" title="sidebar.filters.times"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="truncatewords.html" class="article-footer-next" title="sidebar.filters.truncatewords"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -117,7 +117,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="truncate.html" class="article-footer-prev" title="sidebar.filters.truncate"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="uniq.html" class="article-footer-next" title="sidebar.filters.uniq"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -105,7 +105,7 @@ ants, bugs, bees```</code></pre>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="truncatewords.html" class="article-footer-prev" title="sidebar.filters.truncatewords"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="unshift.html" class="article-footer-next" title="sidebar.filters.unshift"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -111,7 +111,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="uniq.html" class="article-footer-prev" title="sidebar.filters.uniq"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="upcase.html" class="article-footer-next" title="sidebar.filters.upcase"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="unshift.html" class="article-footer-prev" title="sidebar.filters.unshift"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="url_decode.html" class="article-footer-next" title="sidebar.filters.url_decode"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -103,7 +103,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="upcase.html" class="article-footer-prev" title="sidebar.filters.upcase"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="url_encode.html" class="article-footer-next" title="sidebar.filters.url_encode"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="url_decode.html" class="article-footer-prev" title="sidebar.filters.url_decode"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="where.html" class="article-footer-next" title="sidebar.filters.where"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -174,7 +174,7 @@ Featured product: <span class="token liquid language-liquid"><span class="token
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.202Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="url_encode.html" class="article-footer-prev" title="sidebar.filters.url_encode"><i class="icon-chevron-left"></i><span>上一页</span></a>
</footer>
</div>
+213
View File
@@ -0,0 +1,213 @@
<!DOCTYPE html>
<html lang="zh-cn">
<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">
<meta name="description" content="LiquidJS 是一个纯 JavaScript 实现的,简洁的、安全的模板引擎,兼容 Shopify / Github Pages。">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/zh-cn/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/zh-cn/index.html">
<!-- Alternative links -->
<link rel="alternative" hreflang="en" href="https://liquidjs.com/zh-cn/">
<link rel="alternative" hreflang="zh-cn" href="https://liquidjs.com/zh-cn/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" type="application/atom+xml">
<meta name="generator" content="Hexo 5.4.0"></head>
<body>
<div id="container">
<header id="header" class="wrapper">
<div id="header-inner" class="inner">
<h1 id="logo-wrap">
<a href="/zh-cn/" id="logo">LiquidJS</a>
</h1>
<nav id="main-nav">
<a href="tutorials/intro-to-liquid.html" class="main-nav-link">教程</a><a href="tags/overview.html" class="main-nav-link">标签</a><a href="filters/overview.html" class="main-nav-link">过滤器</a><a href="playground.html" class="main-nav-link">演示</a><a href="api/classes/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="搜索...">
</div>
</nav>
<div class="main-nav-link icon-nav-link">
<label><i class="icon-network"></i> <span class="icon-nav-title">简体中文</span></label>
<select id="lang-select" data-canonical="">
<option value="en">English</option>
<option value="zh-cn" selected>简体中文</option>
</select>
</div>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs" class="main-nav-link icon-nav-link"><i class="icon-github"></i> <span class="icon-nav-title">Github</span></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">简单安全的 Liquid 模板引擎</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"><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"><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"><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"><img src="https://img.shields.io/opencollective/all/liquidjs?style=flat-square" alt="Donate to LiquidJS on Open Collective"></a>
<!-- License button -->
<a href="https://github.com/harttle/liquidjs/blob/master/LICENSE" rel="external nofollow noreferrer" target="_blank"><img src="https://img.shields.io/dub/l/vibe-d.svg?style=flat-square" alt="LiquidJS publishes with MIT license"></a>
</div>
</div>
</header>
<div id="intro-news-list">
<div class="wrapper">
<div class="inner">
<div id="intro-news-flex">
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://opencollective.com/liquidjs/#section-contribute" class="intro-news-wrap">
<div class="intro-news-time">2020-02-26</div>
<div class="intro-news-title">赞助人:第一个 backer 通过 Open Collective 贡献于 LiquidJS。</div>
</a>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/pull/202" class="intro-news-wrap">
<div class="intro-news-time">2020-03-11</div>
<div class="intro-news-title">内存优化:用更精细的手法重写了解析器,来避免临时字符串的生成,内存占用降低 57.7% 以上。</div>
</a>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/pull/205" class="intro-news-wrap">
<div class="intro-news-time">2020-03-15</div>
<div class="intro-news-title">性能提升:引入 AST 并重新设计 Token 类型系统,使渲染性能平均提升 100.3%。</div>
</a>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/milestone/3?closed=1" class="intro-news-wrap">
<div class="intro-news-time">2021-09-30</div>
<div class="intro-news-title">流式渲染:4 倍渲染速度,并增加了对流式渲染的支持。</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">安全渲染</h3><p class="intro-feature-desc">Liquid 模板有很强的可读性和容错性,适用于开放给设计师和客户。运算符和表达式都先解析到 AST 再去渲染,避免了 <code>eval</code><code>new Function</code></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">零依赖</h3><p class="intro-feature-desc">零 NPM 依赖且没有 Native 绑定的 Liquid 实现,Node.js 和浏览器通用。同时提供了 CDN 可用的 CMD, ESM 和 CJS 打包。</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 兼容</h3><p class="intro-feature-desc">支持 <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/shopify/liquid">shopify/liquid</a> 的所有标签和过滤器,<a target="_blank" rel="noopener external nofollow noreferrer" href="https://jekyllrb.com/">Jekyll 站点</a>, <a target="_blank" rel="noopener external nofollow noreferrer" href="https://pages.github.com/">Github Pages</a><a target="_blank" rel="noopener external nofollow noreferrer" href="https://themes.shopify.com/">Shopify 模板</a> 都可以轻松迁移到 Node.js。</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</h3><p class="intro-feature-desc">整个项目在 TypeScript strict 模式下重写,让这个库拥有顺滑的使用体验,同时确保了一致的 API 和实时的、精确的文档。</p></div></li></ul>
<div id="intro-cmd-wrap" class="highlight typescript"><pre><span class="line"><span class="keyword">import</span> { Liquid } <span class="keyword">from</span> <span class="string">'liquidjs'</span></span><br><span class="line"><span class="keyword">const</span> engine = <span class="keyword">new</span> Liquid()</span><br><span class="line"><span class="keyword">const</span> tpl = engine.parse(<span class="string">'Welcome to {{v}}!'</span>)</span><br><span class="line">engine.render(tpl, {<span class="attr">v</span>: <span class="string">"Liquid"</span>}).then(<span class="built_in">console</span>.log)</span><br><span class="line"><span class="comment">// Outputs "Welcome to Liquid!"</span></span><br></pre></div>
<div id="intro-get-started-wrap">
<a href="tutorials/setup.html" id="intro-get-started-link">开始使用</a>
</div>
</div>
</div>
</div>
<div id="contributors-wrap">
<div class="wrapper">
<div class="inner">
<h3>贡献</h3>
<p class="description">LiquidJS 欢迎任何形式的贡献,可以从 <a href="tutorials/contribution-guidelines.html">阅读贡献指南</a> 开始!感谢这些参与过 LiquidJS 项目的人:</p>
<div class="contributors">
</div>
</div>
</div>
</div>
<div id="sponsors-wrap">
<div class="wrapper">
<div class="inner">
<h3>赞助</h3>
<p class="description">如果你喜欢 LiquidJS 或你的公司在使用 LiquidJS,请考虑 <a href="tutorials/contribution-guidelines.html#成为赞助者!">赞助 LiquidJS</a></p>
<div class="contributors">
<table> <tbody> <tr> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.opensense.com/"><img src="https://images.opencollective.com/opensense-inc/bf840ae/logo/256.png?height=100" alt="Opensense Inc."/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.11ty.dev/"><img src="https://avatars.githubusercontent.com/u/35147177?v=4?s=100" alt="Eleventy"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="http://about.me/peterdehaan"><img src="https://avatars2.githubusercontent.com/u/557895?v=4?s=100" alt="Peter deHaan"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://opencollective.com/touchless"><img src="https://images.opencollective.com/touchless/273bc74/logo/256.png?height=100" alt="Touchless"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.dropkiq.com/"><img src="https://images.opencollective.com/1bertlol/43a8ea8/logo/256.png?height=100" alt="Adam Darrah"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://dailycontributors.com/"><img src="https://images.opencollective.com/dailycontributors/3c2e057/logo/256.png?height=100&width=100" alt="Dailycontributors"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/coni2k"><img src="https://avatars0.githubusercontent.com/u/1284601?v=4?s=100" alt="coni2k"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/amit777"><img src="https://avatars0.githubusercontent.com/u/2703309?v=4?s=100" alt="amit777"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://opencollective.com/khaled-salem"><img src="https://images.opencollective.com/khaled-salem/avatar/256.png?height=256" alt="Khaled Salem"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://sentry.io/"><img src="https://avatars.githubusercontent.com/u/1396951?v=4?s=100" alt="Sentry"/></a></td> <td align="center" valign="top" ><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.checkoutblocks.com/"><img src="https://avatars.githubusercontent.com/u/114603307?v=4?s=100" alt="Checkout Blocks"/></a></td> </tr> </tbody></table>
</div>
</div>
</div>
</div>
<footer id="footer" class="wrapper">
<div class="inner">
<div id="footer-copyright">
&copy; 2024 <a href="https://github.com/harttle/liquidjs/graphs/contributors" rel="external nofollow noreferrer" target="_blank">Harttle</a><br>
本文档通过 <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://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/intro-to-liquid.html" class="mobile-nav-link">教程</a><a href="tags/overview.html" class="mobile-nav-link">标签</a><a href="filters/overview.html" class="mobile-nav-link">过滤器</a><a href="playground.html" class="mobile-nav-link">演示</a><a href="api/classes/Liquid.html" class="mobile-nav-link">API</a>
</ul>
</div>
<div id="mobile-button-list">
<a href="https://github.com/harttle/liquidjs" class="mobile-nav-link" rel="external" target="_blank"><i class="icon-github"></i></a>
<a href="https://opencollective.com/liquidjs" class="mobile-nav-link" rel="external" target="_blank"><i class="icon-opencollective"></i></a>
<div id="mobile-lang-select-wrap" class="mobile-nav-link">
<label for="mobile-lang-select"><i class="icon-network"></i></label>
<select id="mobile-lang-select" data-canonical="">
<option value="en">English</option>
<option value="zh-cn" selected>简体中文</option>
</select>
</div>
</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>
+1 -1
View File
@@ -114,7 +114,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="inline_comment.html" class="article-footer-prev" title="sidebar.tags.#"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="capture.html" class="article-footer-next" title="sidebar.tags.capture"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -118,7 +118,7 @@ I am <span class="token liquid language-liquid"><span class="token delimiter pun
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="assign.html" class="article-footer-prev" title="sidebar.tags.assign"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="case.html" class="article-footer-next" title="sidebar.tags.when"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -111,7 +111,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="capture.html" class="article-footer-prev" title="sidebar.tags.capture"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="comment.html" class="article-footer-next" title="sidebar.tags.comment"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -105,7 +105,7 @@ is turned into a comment.<span aria-hidden="true" class="line-numbers-rows"><spa
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="case.html" class="article-footer-prev" title="sidebar.tags.when"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="cycle.html" class="article-footer-next" title="sidebar.tags.cycle"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -127,7 +127,7 @@ two<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="comment.html" class="article-footer-prev" title="sidebar.tags.comment"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="decrement.html" class="article-footer-next" title="sidebar.tags.decrement"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -109,7 +109,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="cycle.html" class="article-footer-prev" title="sidebar.tags.cycle"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="echo.html" class="article-footer-next" title="sidebar.tags.echo"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -104,7 +104,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="decrement.html" class="article-footer-prev" title="sidebar.tags.decrement"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="if.html" class="article-footer-next" title="sidebar.tags.if"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -250,7 +250,7 @@ Last<span aria-hidden="true" class="line-numbers-rows"><span></span><span></span
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="if.html" class="article-footer-prev" title="sidebar.tags.if"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="include.html" class="article-footer-next" title="sidebar.tags.include"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -120,7 +120,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="echo.html" class="article-footer-prev" title="sidebar.tags.echo"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="for.html" class="article-footer-next" title="sidebar.tags.for"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -151,7 +151,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="for.html" class="article-footer-prev" title="sidebar.tags.for"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="increment.html" class="article-footer-next" title="sidebar.tags.increment"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -123,7 +123,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="include.html" class="article-footer-prev" title="sidebar.tags.include"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="layout.html" class="article-footer-next" title="sidebar.tags.layout"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -128,7 +128,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="overview.html" class="article-footer-prev" title="概述"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="assign.html" class="article-footer-next" title="sidebar.tags.assign"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -128,7 +128,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="increment.html" class="article-footer-prev" title="sidebar.tags.increment"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="liquid.html" class="article-footer-next" title="sidebar.tags.liquid"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -112,7 +112,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="layout.html" class="article-footer-prev" title="sidebar.tags.layout"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="raw.html" class="article-footer-next" title="sidebar.tags.raw"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -131,7 +131,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="inline_comment.html" class="article-footer-next" title="sidebar.tags.#"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -106,7 +106,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="liquid.html" class="article-footer-prev" title="sidebar.tags.liquid"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="render.html" class="article-footer-next" title="sidebar.tags.render"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -124,7 +124,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="raw.html" class="article-footer-prev" title="sidebar.tags.raw"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="tablerow.html" class="article-footer-next" title="sidebar.tags.tablerow"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -190,7 +190,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="render.html" class="article-footer-prev" title="sidebar.tags.render"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="unless.html" class="article-footer-next" title="sidebar.tags.unless"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -110,7 +110,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="tablerow.html" class="article-footer-prev" title="sidebar.tags.tablerow"><i class="icon-chevron-left"></i><span>上一页</span></a>
</footer>
</div>
+1 -1
View File
@@ -114,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -123,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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="escaping.html" class="article-footer-next" title="转义"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -102,7 +102,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="differences.html" class="article-footer-prev" title="与 Shopify/liquid 的不同"><i class="icon-chevron-left"></i><span>上一页</span></a>
</footer>
</div>
+2 -1
View File
@@ -121,11 +121,12 @@
<li><a target="_blank" rel="noopener external nofollow noreferrer" href="https://jekyllrb.com/docs/liquid/filters/">Jekyll</a> 借来的不依赖 Jekyll 框架的标签/过滤器。</li>
</ul>
</li>
<li>有些过滤器和标签表现不同:比如 [date][date]。</li>
</ul>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -237,7 +237,7 @@ engine<span class="token punctuation">.</span><span class="token function">parse
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="render-tag-content.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>
+1 -1
View File
@@ -135,7 +135,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="caching.html" class="article-footer-prev" title="缓存"><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>
+1 -1
View File
@@ -125,7 +125,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="setup.html" class="article-footer-next" title="安装"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -116,7 +116,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -106,7 +106,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -171,7 +171,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -162,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -132,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -121,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -166,7 +166,7 @@ engine<span class="token punctuation">.</span><span class="token function">regis
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="escaping.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>
+1 -1
View File
@@ -166,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="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -188,7 +188,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="parse-parameters.html" class="article-footer-prev" title="参数解析"><i class="icon-chevron-left"></i><span>上一页</span></a><a href="drops.html" class="article-footer-next" title="Liquid Drop"><span>下一页</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -137,7 +137,7 @@ engine
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>
+1 -1
View File
@@ -177,7 +177,7 @@ engine<span class="token punctuation">.</span><span class="token function">regis
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.343Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</time>
<a href="drops.html" class="article-footer-prev" title="Liquid Drop"><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>
+1 -1
View File
@@ -226,7 +226,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2024-04-14T11:34:22.347Z" itemprop="dateModified">上次更新:2024-04-14</time>
<time class="article-footer-updated" datetime="2024-04-21T07:58:02.206Z" itemprop="dateModified">上次更新:2024-04-21</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>

Some files were not shown because too many files have changed in this diff Show More