/*!
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
*
*
* Date: 2023-08-28T13:37Z
*/
!function(e,t){"use strict";"object"==typeof module&&"object"= ……….
/*!
* Modernizr v2.8.3
* www.modernizr.com
*
* Copyright (c) Faruk Ates, Paul Irish, Alex Sexton
* Available under the BSD and MIT licenses:
*/
window.Modernizr=function
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
Hugo has nothing to do with JavaScript. And “not working” is not a helpful description of a problem.
I suggest you take a look at your site in your preferred browser’s developer tools. Its console should tell you more about JS files not found, errors while running JS etc.
How is Hugo even remotely related to anything “server side”? From what I could gather on the GSAP website, it’s just a JS framework that runs in the browser.
I may, of course, be wrong. But as long as you don’t provide enough information for people to help you here, you’ll probably be out of luck. Create a simplified test case and I’m sure someone will figure it out.
I have finally found the issue. It is all about fonts. Some fonts (not all) are not loaded. Links are correct, all css fonts code works fine on pure HTML theme, have not idea why some fonts are not loaded on Hugo. No error in console.
Again – we can only help you if you provide useful information. A snippet of your CSS is not useful as such.
Hugo never loads fonts. It’s all about your setup. About which you don’t tell us anything. The least you could do is verify what path the font is (not) loaded from in your developer tools.