adityatelange / hugo-PaperMod

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

Fix typo issue#1430 #1464

Closed zznewclear13 closed 5 months ago

zznewclear13 commented 5 months ago

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

This PR solves following error when building the website:

Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:32:6: executing "main" at <partial "cover.html" (dict "cxt" . "IsSingle" true "isHidden" $isHidden)>: error calling partial: "..\themes\PaperMod\layouts\partials\cover.html:9:34": execute of template failed: template: partials/cover.html:9:34: executing "partials/cover.html" at <resources>: can't evaluate field ByType 
in type interface {}

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

It turns out has nothing to do with issue 1430

PR Checklist

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud