Closed angelside closed 2 years ago
Pagination check did not work for me, I am thinking "if not" can be work with booleans, nunjucks docs does not help much.
I have 4 posts, pagination size is 2.
totalPages: 2 totalResults: 4
With current expression, pagination is not showing at all.
I change below:
{% if not pagination.totalPages == 1 %}
to this:
{% if pagination.totalPages != 1 %}
I am with latest version https://deno.land/x/lume@v1.11.4/
Mmm, that's weird. But your solution si more elegant. Thanks!
Pagination check did not work for me, I am thinking "if not" can be work with booleans, nunjucks docs does not help much.
I have 4 posts, pagination size is 2.
With current expression, pagination is not showing at all.
I change below:
to this:
I am with latest version https://deno.land/x/lume@v1.11.4/