Adds layout template and navigation element