Add base tags to HTML files