Hi guys,
This is the first time I’m using Hugo to make a website, and I have some problems right now figuring this out. Hugo is pretty straightforward, but I can’t seem to render the website correctly using the static files in the public directory. I’ve tried googling for the solution, but I don’t seem to be able to use the right terminology to find a solution, so I guessed I’d try on here.
So basically I am using the “Hugo-Fresh” theme. This theme uses Node.JS and Yarn to render the CSS on the page. After installing and configuring this software, using the command “hugo server” gives me a correct render of the page. But when I try to use the files in the “public” directory to deploy my website, the layout is all messed up and not showing correctly. Do I need Node.JS and Yarn etc. to use the theme on my server? If so, what’s the point of generating a static website?
I hope that the solution is easy, and if I need to use a different theme that doesn’t use the abovementioned software, I’ll do that.
Thanks in advance for any advice you guys might have for me!