add hidden-print class to templates