Skip to content

cta-button-list partial not found #2

Open
@nicole-brewer

Description

@nicole-brewer
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions