I have a Hugo site with pretty standard setup. It uses asset pipeline to process SASS. It imports bootstrap, font-awesome, and also uses
resources.ExecuteAsTemplate (please do check out main.css file). CSS resources are being generated properly (I checked
resources/_gen/assets/scss/sass) but the
.css file in public directory is an empty file. I am not able to find any problems in the code. See the code here, site here. I tried creating a new project with same
head.html file and
.scss files, and it generated CSS resources, and had them in the public directory properly.
Currently, I am not using PostCSS; just have the config file created. Would be replacing
postCSSon line 13 in head.html once empty .css file problem is solved.
Hugo Static Site Generator v0.57.2-A849CB2D/extended linux/amd64 BuildDate: 2019-08-17T17:57:54Z
I would gladly provide any additional information if required. Please help!