frjo / hugo-theme-zen

A fast and clean Hugo base theme with css-grid and Hugo pipes support.
https://zen-demo.xdeb.org/
GNU General Public License v2.0
276 stars 80 forks source link

Cdn url misses a / in rss feed #71

Closed metasikander closed 1 year ago

metasikander commented 1 year ago

Site: https://antihashed.xyz Repo: https://github.com/metasikander/antihashed

Cdn config line: cdn: "https://antihashed.us-east-1.linodeobjects.com"

rss.xml result line in https://antihashed.xyz/podcast/index.xml: <enclosure url="https:/antihashed.us-east-1.linodeobjects.com/episode_005.m4a" type="audio/mpeg"/>

The url in the xml is missing a / after https:, so some podcast players can't fetch the file (while others handles it apparently). Updated to the latest version of the template, and hugo.

frjo commented 1 year ago

A bug I introduced in commit https://github.com/frjo/hugo-theme-zen/commit/56d3c30a9830f728ac9a354e8b53b52a125be8f9

I have reverted it back to use "add" instead of "path.Join" now in the main branch.

If you can confirm it is working I will make a new release.

Thanks for the report and for using the Zen theme!

metasikander commented 1 year ago

yes. it is now correct. thank you!