Fix template code style
Split index page behaviour
Put a page to the frontpage