pdf out putting in the correct templates
pdf page template
tidy up
Merge branch 'pdf-template' into development