canonifyURL is getting removed (probably) from hugo
and is currently giving trouble (e.g. with resources):
The generateThemeSite.sh uses
export HUGO_CANONIFYURLS=true
Up to Hugo V 0.42.2 this worked for my theme
<img
src='{{ $myImage.Permalink }}'
where $myImage is a processed image (e.g. $myResource.Resize “300x”)
But starting with hugo V 0.43.0 this no longer works - if canonifyURL is used and Site.BaseURL
is something like http://example.com/foo/bar/
There is no issue without canonifyURL.
So if the plan is to drop the canonifyURL support anyway - when will the forced usage of canonifyURL for hugoThemes be removed?
As a workaround I currently use:
<img
src='{{.Site.BaseURL}}/{{ $myImage.RelPermalink }}'