mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 05:50:43 -07:00
Deploying to gh-pages from @ harttle/liquidjs@28b14901d3 🚀
This commit is contained in:
+19
-7
@@ -71,11 +71,10 @@
|
||||
<div class="wrapper">
|
||||
<h1 class="inner">Playground</h1>
|
||||
<div class="loader" role=status aria-busy=true></div>
|
||||
<div id="editors" class="row inner hide" aria-hide=true>
|
||||
<div class="col">
|
||||
<div id="editorEl">{% assign people = "alice, bob, carol" | split: ", " -%}
|
||||
|
||||
<ul>
|
||||
<div id="editors" class="inner hide" aria-hide=true>
|
||||
<div class="area-tpl editor-wrapper">
|
||||
<h2>Template</h2>
|
||||
<div class="editor" id="editorEl"><ul>
|
||||
{%- for person in people %}
|
||||
<li>
|
||||
<a href="{{person | prepend: "https://example.com/"}}">
|
||||
@@ -85,9 +84,22 @@
|
||||
{%- endfor%}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="dataEl">{}</div>
|
||||
</div>
|
||||
<div class="col" id="previewEl">Loading...</div>
|
||||
<div class="area-data editor-wrapper">
|
||||
<h2>Context</h2>
|
||||
<div class="editor" id="dataEl">{
|
||||
"people": [
|
||||
"alice",
|
||||
"bob",
|
||||
"carol"
|
||||
]
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div class="area-output editor-wrapper">
|
||||
<h2>Output</h2>
|
||||
<div class="editor" id="previewEl">Loading...</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="inner version"></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user