Hello Guys,
I am new to HUGO and I am nearly done with my first web site using the theme http://themes.gohugo.io/theme/agency/.
But I am noticing No js is generated by Hugo server.
I am getting the following error: Failed to load resource: the server responded with a status of 404 (Not Found) whilst accessing {{ .Site.BaseURL }}/js/jquery-v3.3.1/jquery.min.js.
Meanwhile the css {{ .Site.BaseURL }}/bootstrap.min.css is accessible.
Does anyone has any idea as to what might be going on.
I am using Hugo 0.30.2 on Ubuntu.
Thanks in advance.
Regards,
Hi All,
I have solved the issue. The partial js.html from the theme was not referenced the right jquery folder.
it was written :
src=“js/jquery-v3.3.1/jquery.min.js”| absURL }}“
Instead of:
src=”{{ “js/jquery-v3.1.1/jquery.min.js”| absURL }}"
Thanks for reading.
Regards