mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 08:45:42 +03:00
509 B
509 B
layout, title, nav
| layout | title | nav | ||
|---|---|---|---|---|
| default | template |
|
template
template returns the name of the template used to render the current page, with the .liquid extension omitted.
Input
{% highlight html %}{% raw %}
{{ template }}
{% endraw %}{% endhighlight %}
Output
{% highlight html %}{% raw %}
index
{% endraw %}{% endhighlight %}