def create_website(directory, template_filename)
      template = File.read(template_filename)
      File.open(html_file(directory, website.title), 'w') do |f|
        f.puts website.to_html(template)
      end 
    end
def create_website(directory, template_filename)
      template = File.read(template_filename)
      File.open(html_file(directory, website.title), 'w') do |f|
        f.puts website.to_html(template)
      end 
    end
Creates the html representation of the website. The website is saved to
 the directory with websites title and needs an erb-template where the
 links are integrated to. An example template can be found at
 templates/syclink.html.erb