Respect absolute paths in template

When using tempting systems, html files are not on the document root.
This pull request fix this when using absolute path in your html file