Fixed text encoding issues with markdown
Added baseurl html to main template, to allow relative links