fixes page title and some bad html
adds caching to markdown