Amended template
Fixed flatpages