Fix index page links

Prevent an empty line showing up, and reformat front-matter on
index_by_date so it is correct