diff --git a/smash/views.py b/smash/views.py index 17928b8..161fc84 100644 --- a/smash/views.py +++ b/smash/views.py @@ -186,7 +186,7 @@ def tag(tagname): "latest.html", title="Tag - {}".format(tagname), quotes=tag.quotes, - numpages=1 + allquotes//10, + numpages=1 + allquotes//10 if allquotes%10 != 0 else allquotes//10, curpage=0, page_type="tag/{}".format(tagname) )