Templates of common page types marked up with HTML data attributes