Dont do this in templates. Pass that value as a tempalte variable