local website rendering hindered by a partial in minimo theme (windows)
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 24
- Forks
- 10
- Avg merge
- 2d 32m
- Merged PRs (30d)
- 2
Description
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" . }}inthemes/minimo/layouts/partials/head/analytics.htmlwith{{ 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- hugo
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100