style index page and fill with content