HTML and PDF generator for single pages