This `end` is mismatched and is, I think, what is causing the header block not to display on the diary list view.