Skip to content

local website rendering hindered by a partial in minimo theme (windows) #381

Description

@falkmielke

While reviewing #359 , @damianooldoni noticed an issue with a file in head/partials while following the procedure to render the website locally (see README.md).

I needed to replace {{ template "_internal/google_analytics_async.html" . }} in themes/minimo/layouts/partials/head/analytics.html with {{ template "_internal/google_analytics.html" . }} to solve [...]

ERROR html/template:_partials/head/analytics.html:1:13: no such template "_internal/google_analytics_async.html"

Note that (as is good practice for hugo), instead of manipulating the minimo theme directly (which is a git submodule, i.e. a different repo), we should create or modify the layouts/partials/head/analytics.html in this repo.

It might be an option to simply remove the analytics partial.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions