add date_local htmltmpl variable