initial commit

This commit is contained in:
tetchi
2014-07-23 09:43:56 -04:00
parent c75522026b
commit 6201cfd4c2
57 changed files with 10680 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
---
layout: default
title: current_page
nav:
group: Liquid Variables
---
# current_page
<code>current_page</code> returns the number of the page you are on when browsing through <a href="/themes/liquid-documentation/tags/theme-tags/#paginate">paginated</a> content. It can be used outside the <code>paginate</code> block.
<p class="input">Input</p>
{% highlight html %}{% raw %}
{{ page_title }} - Page: {{ current_page }}
{% endraw %}{% endhighlight %}
<p class="output">Output</p>
<div>
{% highlight html %}{% raw %}
Summer Collection - Page: 1
{% endraw %}{% endhighlight %}
</div>