[BUG] error calling safeHTML: unable to cast []string{"Boyang Yan"} of type []string to string
Opened this issue · 0 comments
yanboyang713 commented
Hello All,
Good day to you.
Today, I faced the error MSG below.
Start building sites …
hugo v0.93.2-643B[5](https://github.com/yanboyang713/yanboyang713.github.io/runs/5437206505?check_suite_focus=true#step:4:5)AE9+extended linux/amd[6](https://github.com/yanboyang713/yanboyang713.github.io/runs/5437206505?check_suite_focus=true#step:4:6)4 BuildDate=2022-03-04T12:21:49Z VendorInfo=gohugoio
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: posts/single.html:16:12: executing "posts/single.html" at <partial "head/seo.html" .>: error calling partial: "/home/runner/work/yanboyang[7](https://github.com/yanboyang713/yanboyang713.github.io/runs/5437206505?check_suite_focus=true#step:4:7)13.github.io/yanboyang713.github.io/themes/CodeIT/layouts/partials/head/seo.html:147:31": execute of template failed: template: partials/head/seo.html:147:31: executing "partials/head/seo.html" at <safeHTML>: error calling safeHTML: unable to cast []string{"Boyang Yan"} of type []string to string
ERROR 2022/03/06 06:4[8](https://github.com/yanboyang713/yanboyang713.github.io/runs/5437206505?check_suite_focus=true#step:4:8):32 render of "home" failed: execute of template failed: template: index.html:36:20: executing "content" at <.Render>: error calling Render: failed to execute template ["summary"] v: execute of template failed: template: _default/summary.html:31:16: executing "_default/summary.html" at <partial "plugin/link.html" $options>: error calling partial: "/home/runner/work/yanboyang713.github.io/yanboyang713.github.io/themes/CodeIT/layouts/partials/plugin/link.html:7:16": execute of template failed: template: partials/plugin/link.html:7:16: executing "partials/plugin/link.html" at <safeHTML>: error calling safeHTML: unable to cast []string{"Boyang Yan"} of type []string to string
Total in 2578 ms
Error: Process completed with exit code 255.
I think need to merge below Pull requests:
f6996fe
Have a nice day,
Boyang Yan