Added option for ignoring doctype and head for partials