Pulled call to site_setup out of layout where it is running too late to be used within content specific templates.
Added call to site_setup in content templates

Main code rev. 1820