Fix templates to display number of pages
Merge pull request #135 from tiger-swallowtails-2014/fix_pages

Fix templates to display number of pages