diff --git a/docs/content/documentation/templates/pagination.md b/docs/content/documentation/templates/pagination.md index ff00a71c..19252b6e 100644 --- a/docs/content/documentation/templates/pagination.md +++ b/docs/content/documentation/templates/pagination.md @@ -32,6 +32,8 @@ current_index: Number; total_pages: Number; ``` +**The variable will not be defined if `paginate_by` is not set to a positive number.** + A pager is a page of the pagination; if you have 100 pages and paginate_by is set to 10, you will have 10 pagers each containing 10 pages. @@ -76,4 +78,4 @@ Here is an example from a theme on how to use pagination on a page (`index.html` {% endif %} -``` \ No newline at end of file +```