pdf/book-page-footer.html (18 lines of code) (raw):

<!doctype html> <html> <head> <link rel="stylesheet" href="styles.css"> <script src="utils.js"></script> <script> window.addEventListener('load', function() { var params = utils.getParams(); utils.$('.js-footer-current-page-num').innerHTML = params['page']; }, false); </script> </head> <body> <div class="book-footer"> <div class="book-footer-current-page-num js-footer-current-page-num"></div> </div> </body> </html>