Hi!
I am using Hugo with Academic them and was working fine. I even got my page to be published. But recently for some reason I ran into this problem, not sure if it is because a newer version: theme: get v4.1
Here is the error message:
Total in 130 ms
Error: Error building site: failed to render pages: render of “home” failed: execute of template failed: template: index.html:4:3: executing “index.html” at <partial "widget_page…>: error calling partial: “/Users/DC/Desktop/Coding/My_Website/themes/academic/layouts/partials/widget_page.html:23:9”: execute of template failed: template: partials/widget_page.html:23:9: executing “partials/widget_page.html” at <partial $widget $par…>: error calling partial: Partial “widgets/blank.html” not found
This is file line the error is pointing at:
– Widgets –
{{ range $index, $page := where (where .Data.Pages “Section” $section) “.Params.active” “!=” false }}
{{ $params := dict “root” $ “page” $page }}
{{ $widget := printf “widgets/%s.html” ( or $page.Params.widget “custom” ) }}
{{ if in (slice “hero” “hero_carousel”) $page.Params.widget }}
{{ partial $widget $params }}
{{ else }}
<section id=“{{ $page.File.TranslationBaseName }}” class=“home-section”>
<div class=“container”>
{{ partial $widget $params }}
</div>
</section>
{{ end }}
{{ end }}
Any help is much appreciated!