fixing up ssi content and turning it to a template