Add scripts to footer include
Add target="_blank" to external links
Add layout for index page and remove closing tags

Remove closing tags in layout templates because they get included via the footer include
Delete
Put index into template
Rename old index page