Move common HTML into a layout template