Host Hugo blog on subdirectory - RSS links do not work

I am hosting my Hugo site (blog) on a subdirectory (

I have set my publishDir in the config file to the repository for that page ([absolute path]/

The page loads fine, but the links in the RSS are not correct: they end up pointing to, for example instead of

Additionally my Disqus plugin isn’t loading, and inspecting the html for the content pages, it seems the blog/ bit is missing there also (maybe this is a separate problem).

The repository with the source for the blog is here:, the repos with the generated content is here: (under blog).

PS I am using blogdown to generate the content pages (

Many thanks for your help!