[Cialug] Hugo, anyone?
Matt Patterson
matt at usrlocal.com
Mon Dec 30 16:34:20 UTC 2019
I’m doing something similar to what you are doing but usually apache. Basically, I work on the content locally, once ready, run a clean Hugo run, save to GitHub and then with some puppet magic, my web server pulls down the latest version.
In your public directory (mine is called "html") , are the images and CSS files getting in there when Hugo does its magic? Just curious if is a Hugo issue or a NGINX issue.
-Matt
> On Dec 29, 2019, at 2:29 PM, L. V. Lammert <lvl at omnitec.net> wrote:
>
> Playing with Hugo to generate a site, and from the docs the created public
> folder is the actual site, so pushing it to an NGINX instance would update
> the prod version (and it does).
>
> Problem is, there is something missing - no images, no css, just plain
> html.
>
> Has anyone setup an nginx instance for hugo? What is required beyond
> cloning the public directory?
>
> TIA!
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
More information about the Cialug
mailing list