made index.html extend layout.html.