adityatelange / hugo-PaperMod

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

Fix cover generation #1582

Closed svillar closed 1 week ago

svillar commented 2 months ago

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

Generating cover images was failing with an error in "partials/cover.html" at line 4, with the message at <$.IsSingle>: invalid value; expected bool

I am not fluent in Go at all but threating IsSingle as a string seems to fix the problem

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

https://github.com/adityatelange/hugo-PaperMod/issues/1417

PR Checklist