fix for suppressing gallery in single-page docs

Line 560 sets the condition for creating the "other pages" gallery that the total number of pages be greater than one; thus, single-page docs will not have an "other pages" gallery, but will still have "other versions".