# Site keeps throwing render errors

**URL:** <https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686>\
**Category:** support\
**Created:** [July 14, 2024, 5:36am UTC](https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686 "2024-07-14T05:36:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnblood](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/johnblood/32/931_2.png) [@johnblood](https://discourse.gohugo.io/u/johnblood)\
**Post date:** [July 14, 2024, 5:36am UTC](https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686/1 "2024-07-14T05:36:02Z")

</div>

I decided to work on my site the other day and when tried to run `hugo server`, I got this error:

```auto
ERROR render of "page" failed: execute of template failed: html/template:_default/single.html:44:14: no such template "_internal/google_analytics_async.html"
ERROR render of "term" failed: execute of template failed: html/template:_default/list.html:44:14: no such template "_internal/google_analytics_async.html"
Total in 64 ms
Error: error building site: render: failed to render pages: render of "home" failed: execute of template failed: html/template:index.html:44:14: no such template "_internal/google_analytics_async.html"

```

I figured that updating the theme would fix the issue. I ran `git submodule update --remote --merge` to update the theme, but I’m still getting the render error. Any ideas? I’m using Hugo 0.128.2.

Here is my site: [https://gitpi.us/](https://gitpi.us/)  
The repo for my site is here: [John Paul Wohlscheid / gitpius · GitLab](https://gitlab.com/JohnBlood/gitpius)

---

<div class="post-metadata">

**Author:** ![CyrusYip](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cyrusyip/32/20786_2.png) [@CyrusYip](https://discourse.gohugo.io/u/CyrusYip)\
**Post date:** [July 14, 2024, 6:11am UTC](https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686/2 "2024-07-14T06:11:22Z")

</div>

~~Try hugo extended v0.116.0 .~~

Remove `google_analytics_async.html` in your templates since your website don’t use it.

> <https://gitlab.com/JohnBlood/gitpius/-/blob/master/layouts/_default/baseof.html?ref_type=heads#L40-L46>

---

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [July 14, 2024, 6:31am UTC](https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686/3 "2024-07-14T06:31:47Z")

</div>

just for clarification:

The theme has been updated already and using the current version won’t throw the error.

I would not remove that code, but merge theme changes back to your customization.

- you customized the delivered baseof.html by overriding it in your own layouts folder.
- you local copies of files won’t be updated when updating the theme
- whenever you update the theme you will have to reapply the theme changes to your copy

hint:  
You have two more themes in your themes folder (directly committed not as submodule)  
maybe you want to remove that to keep your repo clean in case they are not needed anymore

---

<div class="post-metadata">

**Author:** ![johnblood](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/johnblood/32/931_2.png) [@johnblood](https://discourse.gohugo.io/u/johnblood)\
**Post date:** [July 14, 2024, 6:04pm UTC](https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686/4 "2024-07-14T18:04:49Z")

</div>

> [@irkode](#):
>
> merge theme changes back to your customization.

I’m not sure how to do that.

---

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [July 14, 2024, 6:46pm UTC](https://discourse.gohugo.io/t/site-keeps-throwing-render-errors/50686/5 "2024-07-14T18:46:13Z")

</div>

1. The themes file is in `themes/binario/layouts/_default/baseof.html`
2. Your file is in `layouts/_default/baseof.html`

- backup your version
- copy (1) to your layouts overwriting (2)
- compare your backup with the new one
- 
  - reapply your changes

if i got it right the only change you made was adding `{{ partial "track" . }}` about line 6/7.  
so just readd that after line 5.
