Fix locale for partials using `context.stack.tail`

The `formatDate` helper works on main page but failed in nested partials.  Inspecting the context revealed nested partials use `context.stack.tail...` instead of `context.stack.head...`