generate_version_history: remove remaining template related code