Create site index page.
Fix various rendering problems.

* Duh // is for schema, not host. *sigh*
* Off-by-one errors in a couple places.
* The wrong template getting picked up for chapter indexes.