Strip opening HTML for devsite target templates

The overall templates could probbaly use a bit of tidying too.