add macro to expand to weekdays in the template