Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cta-button-list partial not found #2

Open
nicole-brewer opened this issue Feb 23, 2024 · 3 comments
Open

cta-button-list partial not found #2

nicole-brewer opened this issue Feb 23, 2024 · 3 comments

Comments

@nicole-brewer
Copy link
Contributor

Start building sites … 
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended darwin/arm64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio

ERROR %!s(<nil>) uses a `cta-button-list` block but the `cta-button-list` block was not found at `layouts/partials/blocks/cta-button-list.html`
Total in 519 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/nabrewer/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/blox-bootstrap/v5@v5.9.7-0.20231108143325-448ed0e3bd2b/layouts/landing/single.html:2:5": execute of template failed: template: landing/single.html:2:5: executing "main" at <partial "landing_page.html" .>: error calling partial: "/Users/nabrewer/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/blox-bootstrap/v5@v5.9.7-0.20231108143325-448ed0e3bd2b/layouts/partials/landing_page.html:9:7": execute of template failed: template: partials/landing_page.html:9:7: executing "partials/landing_page.html" at <partial "functions/parse_block_v2" (dict "page" $ "block" $block)>: error calling partial: "/Users/nabrewer/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/blox-bootstrap/v5@v5.9.7-0.20231108143325-448ed0e3bd2b/layouts/partials/functions/parse_block_v2.html:140:7": execute of template failed: template: partials/functions/parse_block_v2.html:140:7: executing "partials/functions/parse_block_v2.html" at <partial $block_path $widget_args>: error calling partial: partial "blocks/cta-button-list.html" not found

This took me way too long to figure out, because it took me a while to isolate that particular blox as being the only one that wasn't actually working. This Discord post helped me realize the issue was that I didn't have the newest version of hugo blox called tailwind as discussed here because the Research Group template I used hasn't been updated to reflect the changes yet. Instructions for updating and tagged releases.

@Yihao-Shi
Copy link

could you please share how to fix it? I also meet this problems. Many thanks!

@nicole-brewer
Copy link
Contributor Author

I'm guessing you need to upgrade your template to a newer version for the cta-button-list to start working. I haven't gone through the process yet

@Yihao-Shi
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants