_default/baseof not rendering in sub-templates?

This is my file tree:

├── _default
│   ├── baseof.html
│   ├── list.html
│   ├── single.html
│   ├── term.html
│   └── terms.html
├── index.atom.xml
├── index.html
├── indieweb
│   ├── list.html
│   └── single.html

What’s happening is that the single.html template in indieweb is not bringing in baseof.html from the default section, which it needs to bring in css and such. In fact, most of the single.html template is rendering incorrectly.

The single.html template for indieweb is pretty complex, so I’ve pasted it here: indieweb single.html — paste.sr.ht

This template worked fine for years until recent Hugo versions - for context this is breaking on hugo v0.140.1+extended linux/amd64. The interesting thing about it is that indieweb/list.html is working fine and it uses the exact same logic for choosing the header and such as the broken template.

I can’t figure out what’s happening here, I’m at a total loss. Here’s what the broken render looks like:
https://paste.sr.ht/~tonic/218d51a1dd72778b1556bd438701806567f62643

You’ll notice that the header, body, and footer tags are all missing - like baseof isn’t being used at all. On top of that, the starter <main> and page content before e-content is not being pulled in either.

Here’s what I’ve tried to fix this:

  • Checked to make sure I’m not missing a {{ end }} or declaration of a section
  • Made sure that the post type is being pulled in correctly
  • Ensured there are no overrides in config.toml

Any ideas where I can look next?

run with --logLevel debug

and as a minimum provide your baseof.html

but best would be to share a (stripped) down repo to reproduce

run with --logLevel debug

https://paste.sr.ht/~tonic/f84a026c485221b579f634a82beb12b2ffed236a

as a minimum provide your baseof.html

~/D/Blog (main)> cat themes/burrow/layouts/_default/baseof.html 
<!DOCTYPE html>
<html lang="en">
    {{- partial "header.html" . -}}
    <body>
        <div class="content">
        {{- partial "head.html" . -}}
        {{- block "main" . }}{{- end }}
        {{- partial "footer.html" . -}}
        </div>
    </body>
</html>

best would be to share a (stripped) down repo to reproduce

Site: ~tonic/hugo - Actual Sitefiles for Blog - sourcehut git
Theme: ~tonic/burrow - Theme Files for Site - sourcehut git

no connection via SSH
for https not all submodules are readable

managed to get something up by manual cloning readable submodules (but seems there’s also a recursive one)
but I get a warning in build which I cannot see in your shared log:

WARN Failed to read module config for “burrow” in “C:\_repos\github\clone\topic-52902\themes\burrow\theme.toml”: “_stream.toml:10:60”: unmarshal failed: toml: basic strings cannot have new lines

So maybe I did something wrong when trying to setup your site.

  • no indiweb
  • created an indiweb content folder
  • added _index.md
    ---
    # LIST
    ---
    
  • and page.md
    ---
    # PAGE
    ---
    

I get:

If I click on the link I get the page shown (just my <h1>)

looks like there’s something to setup.

so without reproducable example and fearing there is eomething relevant missing…

  • fix needed access
  • instructions if a simple git clone --recurse-submodules won’t do it
  • some content that should work
  • which hugo version is the one that works?