removed the base tag and made link anchors target _blank if they're external