changes to the way dates are handled and moved parts of the default template to partials.
small tweaks