adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
9.6k stars 2.59k forks source link

fix(cover): Fix linkFullImages 404 not found #1566

Open MortalHappiness opened 1 month ago

MortalHappiness commented 1 month ago

What does this PR change? What problem does it solve?

See the description in the corresponding issue for details.

This PR changes (path.Join .RelPermalink .Params.cover.image) to (.Params.cover.image) solves the problem. However, I don't know the original context of why .RelPermalink is needed. Please tell me if there are any better ways to solve this problem. Thanks for the reviewers.

Was the change discussed in an issue or in the Discussions before?

Resolves: #1565

PR Checklist

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud