Problem when building hugo server with poison theme

HI I just was trying to make a hugo serve with the poison theme but after creating a test md with hugo new create posts/post.md
And when i try to serve the page with hugo server i get this error

Watching for changes in /Users/samuele/Downloads/github_website/0xAlessandro.github.io/ctf_blog/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /Users/samuele/Downloads/github_website/0xAlessandro.github.io/ctf_blog/hugo.toml, /Users/samuele/Downloads/github_website/0xAlessandro.github.io/ctf_blog/themes/poison/config.toml
Start building sites …
hugo v0.133.1+extended darwin/arm64 BuildDate=2024-08-26T13:58:46Z VendorInfo=brew

Built in 81 ms
Error: error building site: render: failed to render pages: render of "section" failed: "/Users/samuele/Downloads/github_website/0xAlessandro.github.io/ctf_blog/themes/poison/layouts/_default/baseof.html:1:3": execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" – Scratch is nil; wrap it in if or with: {{ with partial "head/head.html" .>: error calling partial: "/Users/samuele/Downloads/github_website/0xAlessandro.github.io/ctf_blog/themes/poison/layouts/partials/head/head.html:16:7": execute of template failed: template: partials/head/head.html:16:7: executing "partials/head/head.html" at <partial "head/meta.html" .>: error calling partial: "/Users/samuele/Downloads/github_website/0xAlessandro.github.io/ctf_blog/themes/poison/layouts/partials/head/meta.html:17:13": execute of template failed: template: partials/head/meta.html:17:13: executing "partials/head/meta.html" at <.Scratch }}{{ .Add }}{{ end }}```

this is my directory tree
https://pastebin.com/8jsg7RpN
Is there some more information needed? Please let me know

You need to follow the directions provided by the theme author:
https://github.com/lukeorth/poison?tab=readme-ov-file#how-to-configure

Note that this theme is not compatible with Hugo v0.132.0 or later:
https://github.com/lukeorth/poison/pull/194

Hi, I’ve just downgraded to hugo v0.114.0 and cloned the official demo repository GitHub - lukeorth/poison-demo-site: A demo site for my "hydes-poison" Hugo theme but it still doesn’t work, this time i get this error

Start building sites …
hugo v0.114.0+extended darwin/arm64 BuildDate=unknown

Built in 16 ms
Error: error building site: assemble: "/Users/samuele/Downloads/github_website/0xAlessandro.github.io/poison-demo-site/content/posts/introducing-poison.md:162:1": failed to extract shortcode: template for shortcode "tabs" not found

You need to clone the submodules too:

git clone --recurse-submodules https://github.com/lukeorth/poison-demo-site

Please contact the theme author if you need additional assistance.

Thank you

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.