Pass version to templates