adityatelange / hugo-PaperMod

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

Use new 'Image render hook' template from Hugo. #1526

Open adityatelange opened 4 months ago

adityatelange commented 4 months ago

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

Improves compatibility with custom render hook provided in Hugo 0.123.0 and above.

A custom render hook, even when provided by a theme or module, will override the embedded render hook regardless of the configuration setting above.

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

Closes: #1504

PR Checklist

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

jmooring commented 1 month ago

Thanks for getting ahead of this. Much appreciated.