added footer to layout template