custom-wowchemy-theme
custom-wowchemy-theme copied to clipboard
some template files not found
I'm having some problems with your custom theme, some template files not found, looking forward to your answer, thank you for making the custom theme public, a very nice theme.
> blogdown::hugo_build(local=TRUE)
Start building sites …
hugo v0.104.3+extended darwin/amd64 BuildDate=unknown
WARN 2022/10/26 20:47:11 .Path when the page is backed by a file is deprecated and will be removed in a future release. We plan to use Path for a canonical source path and you probably want to check the source is a file. To get the current behaviour, you can use a construct similar to the one below:
{{ $path := "" }}
{{ with .File }}
{{ $path = .Path }}
{{ else }}
{{ $path = .Path }}
{{ end }}
Re-run Hugo with the flag --panicOnWarning to get a better error message.
Total in 396 ms
Error: Error building site: failed to render pages: render of "home" failed: "/Users/hiifong/Desktop/XianYu/themes/custom-wowchemy-theme/layouts/index.html:21:5": execute of template failed: template: index.html:21:5: executing "main" at <partial "widget_page.html" .>: error calling partial: "/Users/hiifong/Desktop/XianYu/themes/custom-wowchemy-theme/layouts/partials/widget_page.html:133:9": execute of template failed: template: partials/widget_page.html:133:9: executing "partials/widget_page.html" at <partial $widget_path $widget_args>: error calling partial: partial "widgets/features.html" not found
[1] 255