vividvilla / ezhil

Clean and minimal personal blog theme for Hugo

Home Page:https://ezhil-hugo.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom CSS not working

himat opened this issue · comments

commented

When I add custom CSS to override that of this theme, it doesn't work.

config.toml:

customCSS = "css/custom.css"
customDarkCSS = "css/custom-dark.css"

And I put the css files in static/css/custom.css and static/css/custom-dark.css

Terminal while running hugo server and after I save a change to the CSS file:

Change of Static files detected, rebuilding site.
2020-01-23 18:52:10.351 -0500
Syncing css/custom.css to /
ERROR 2020/01/23 18:52:10 fsync: trying to overwrite a non-empty directory with a file
ERROR 2020/01/23 18:52:10 fsync: trying to overwrite a non-empty directory with a file

The site before I make a change to the CSS shows up, but then after I make a change, it shows this:
image

This seems like your system specific issue, I tried with same config and static files but seems to be working fine. Tried this on macOS Mojave v10.14.6 and Hugo version v0.63.2/extended.

config.toml

image

Directory structure

image

Hugo server logs

image

Closing this issue because of inactivity.