fixed templates for older versions of documentation