You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve image resources correctly with subdirectory baseURLs
This fix handles Hugo's resource resolution issue when deploying to subdirectory paths
like GitHub Pages. The resources.Match function was failing because it was looking
for images with the full baseURL path instead of the relative path.
Changes:
- Strip baseURL prefix from imagePath before resource matching
- Add fallback logic for resource resolution
- Maintain backward compatibility with existing configurations
0 commit comments