mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
moved everything to root folder
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
---
|
||||
layout: default
|
||||
title: template
|
||||
|
||||
nav:
|
||||
group: Liquid Variables
|
||||
---
|
||||
|
||||
# template
|
||||
|
||||
<code>template</code> returns the name of the template used to render the current page, with the <code>.liquid</code> extension omitted.
|
||||
|
||||
<p class="input">Input</p>
|
||||
<div>
|
||||
{% highlight html %}{% raw %}
|
||||
<!-- If you're on the index.liquid template -->
|
||||
{{ template }}
|
||||
{% endraw %}{% endhighlight %}
|
||||
</div>
|
||||
|
||||
<p class="output">Output</p>
|
||||
<div>
|
||||
{% highlight html %}{% raw %}
|
||||
index
|
||||
{% endraw %}{% endhighlight %}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user