Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

[BUG] error calling safeHTML: unable to cast []string{"Boyang Yan"} of type []string to string #417

Open
yanboyang713 opened this issue Mar 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@yanboyang713
Copy link

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

@yanboyang713 yanboyang713 added the bug Something isn't working label Mar 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant