Fixing hard-coded URLs and asset links that were broken when using a subdir