Fix templating errors.

I still don't understand latte very well apparently.
Update summary tables.

Also fix issue with the footer.