extract html content into separate file

and reference of the variable  in generate.rb to this file