Comments (8)
The Bug is fixt in Main but not in the newest release. :-(
Go to themes\ananke\layouts_default\baseof.html on line 40 have to look like :
{{ template "_internal/google_analytics.html" . }}
from gohugo-theme-ananke.
Hello! I cloned your repo and reproduced the problem on my local machine. I got rid of the error message by creating an _internal/google_analytics_async.html
file. I consider this a temporary solution. I came here looking for help with another problem, but I figured I could help you as well. I have a very similar blog. Could you tell us more about the changes made since the last working version?
from gohugo-theme-ananke.
I added the _internal/google_analytics_async.html
file, but it's still throwing the error. Do I need to add that in a specific place in my repo?
from gohugo-theme-ananke.
As far as the changes made, I added a new blog post under the content
folder, added a new image under the static
folder (both are things I do all the time). I also updated a few of my old blog post names to start with a date, so that they have a consistent order under the blog folder. I wouldn't think renaming posts would cause that particular error, but maybe?
from gohugo-theme-ananke.
I'm sorry, @DevTown, my frontend skills are less than stellar.....do I need to copy the whole baseof.html file from the theme repo into my repo and then modify there for it to pick up the change?
from gohugo-theme-ananke.
@DevTown and @ricardopoffo, I don't have Google Analytics enabled on my repo. The theme is a submodule in my repo, but I haven't pulled all the files into my repository (folder placeholder only). Could someone explain a bit more how this should work? I would really appreciate a bit more explanation! :)
from gohugo-theme-ananke.
@regisphilibert Could you deploy a fixed version from the main plz ?
@JMHReif : When you want to create your site local you can go to your checkout theme folder .
Where you go to the ananke\layouts_default Folder .
There you open the file baseof.html in a editor of your choice .
Now delete line 40 and past the following line in it:
{{ template "_internal/google_analytics.html" . }}
After you save the file you can run hugo again.
The problem is not that you are using google_analytics or not. The theme has the possibility to use it and the theme has a bug. It is fixed in the githubrepo but not i a released.
from gohugo-theme-ananke.
Thank you for the help, @DevTown! My site can be updated again. :)
from gohugo-theme-ananke.
Related Issues (20)
- How to paginate articles with date ? HOT 1
- Resize featureimages
- Unnecessary vertical space below posts if commends are disabled
- Unnecessary vertical space on index page if there is no content
- Contribution: fix hard-coded link to section HOT 2
- Images not rendered in alternative language
- Custom CSS - Width of text rendered on Desktop Browser HOT 1
- Cannot display icon for custom social HOT 1
- Title color HOT 1
- Hugo extended edition required by default?
- Page is just blank. Missing images HOT 1
- Pages now appear listed in the Home page along Posts HOT 1
- Extra {{end}} index.html HOT 3
- Bad link to demo site
- github social link adds breaks when hosted on github.io
- Demo doesn't work HOT 1
- Make header opacity configurable
- Option to order sections by date for index.html HOT 1
- How to configure a contact form to use a larger font on PC ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gohugo-theme-ananke.