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

Open Beginner friendly
#381 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
hugo
Domain
build-system

Research direction

Start with README.md and inspect themes/minimo/layouts/partials/head/analytics.html, then check whether layouts/partials/head/analytics.html already exists in this repository. Run the local rendering procedure on Windows and verify that the missing _internal/google_analytics_async.html error is gone without modifying the minimo submodule.

Written by the indexing model from the issue text.

Description

bug upstream

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.

Dominant language
HTML
Stars
24
Forks
10
Avg merge
2d 32m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from inbo/tutorials

All issues in inbo/tutorials

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.