mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 16:55:40 +03:00
595 B
595 B
layout, title, nav
| layout | title | nav | ||
|---|---|---|---|---|
| default | current_page |
|
current_page
current_page returns the number of the page you are on when browsing through paginated content. It can be used outside the paginate block.
Input
{% highlight html %}{% raw %} {{ page_title }} - Page: {{ current_page }} {% endraw %}{% endhighlight %}
Output
{% highlight html %}{% raw %}
Summer Collection - Page: 1
{% endraw %}{% endhighlight %}