Skip to content

Doesn't work with post-0.146.0 changes #298

@darac

Description

@darac

I'm getting started with Hugo, so apologies if I've misunderstood. I'm running Hugo version 0.15.1+extended and, when I try to build a site using this theme I get:

❯ hugo build                                                                                                                                                                                                                                                    
Start building sites …                                                                                                                                                                                                                                          
hugo v0.150.1+extended linux/amd64 BuildDate=2025-09-27T20:38:31Z VendorInfo=debian:0.150.1-1                                                                                                                                                                   
                                                                                                                                                                                                                                                                
ERROR render of "/categories/stories" failed: "[...path to site...]themes/hugo-theme-w3css-basic/layouts/_default/baseof.html:6:6": execute of template failed: template: _default/taxonomy.html:6:6: executing "_default/taxonomy.html"
 at <partial `head.html` .>: error calling partial: "[...path to site...]themes/hugo-theme-w3css-basic/layouts/partials/head.html:6:5": execute of template failed: template: _partials/head.html:6:5: executing "_partials/head.html" a
t <partial `head.favicon.html` .>: error calling partial: "[...path to site...]themes/hugo-theme-w3css-basic/layouts/partials/head.html:6:5": execute of template failed: template: _partials/head.html:6:5: executing "_partials/head.h
tml" at <partial `head.favicon.html` .>: error calling partial: "[...path to site...]themes/hugo-theme-w3css-basic/layouts/partials/head.html:6:5": execute of template failed: template: _partials/head.html:6:5: executing "_partials/
head.html" at <partial `head.favicon.html` .>: error calling partial: "[...path to site...]themes/hugo-theme-w3css-basic/layouts/partials/head.html:6:5": execute of template failed: template: _partials/head.html:6:5: executing "_par
tials/head.html" at 

(this repeats many, may times until it ends with maximum template call stack size exceeded in "[...path to site...]themes/hugo-theme-w3css-basic/layouts/partials/head.html")

I might be wrong, but when I went to read up about partials, I noticed a link to this page: https://gohugo.io/templates/new-templatesystem-overview/ and it seems to me that this theme hasn't been updated to take advantage of the recent changes in Hugo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions