Missed a thing from last commit where the tags page is +1 sometimes
This commit is contained in:
parent
372e3b41b3
commit
238a69d346
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue