Skip to content

google analytics error on build. #1331

Open
@brittainmark

Description

@brittainmark

This is probably my set-up, but I cannot find the issue.
Using Hugo 0.139 on Windows 11.

Getting error when issuing hugo server command

ERROR render of "section" failed: "D:\Mark\git\documentation\layouts\dev\baseof.html:4:7": execute of template failed: template: dev/list.html:4:7: executing "dev/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: "D:\Mark\git\documentation\layouts\dev\baseof.html:4:7": execute of template failed: template: dev/single.html:4:7: executing "dev/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
Built in 27439 ms
ERROR render of "section" failed: "D:\Mark\git\documentation\layouts\dev\baseof.html:4:7": execute of template failed: template: dev/list.html:4:7: executing "dev/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: "D:\Mark\git\documentation\layouts\dev\baseof.html:4:7": execute of template failed: template: dev/single.html:4:7: executing "dev/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"

Have searched and suggest I need to use "internal/google_analytics.htm" but don't know where to change it.

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