Add version and rev info to base template