If I add my theme with github.com/frjo/hugo-theme-zen (no version part) the preview does not include the Zen theme at all.
If I add my theme with github.com/frjo/hugo-theme-zen/v3 (with version part) the preview displays the Zen theme in order but with an incorrect path for the download button. It sets the download path to include the version part making the download link end in a 404.
There seems to be a bug with setting html_url for themes with a version. I suspect it works for some theme due to the correct html_url being cached.
If I add my theme with
github.com/frjo/hugo-theme-zen
(no version part) the preview does not include the Zen theme at all.If I add my theme with
github.com/frjo/hugo-theme-zen/v3
(with version part) the preview displays the Zen theme in order but with an incorrect path for the download button. It sets the download path to include the version part making the download link end in a 404.There seems to be a bug with setting
html_url
for themes with a version. I suspect it works for some theme due to the correcthtml_url
being cached.Originally posted by @frjo in https://github.com/gohugoio/hugoThemesSiteBuilder/issues/453#issuecomment-2074554583