vividvilla / ezhil

Clean and minimal personal blog theme for Hugo
https://ezhil-hugo.netlify.com/
MIT License
422 stars 178 forks source link

Looks different when hosted on Github page #23

Closed josephbak closed 4 years ago

josephbak commented 5 years ago

The site looks different when hosted locally and when hosted on the Github page. The dark mode doesn't work on the Github page and everything is ordered weirdly. Does anyone know how to fix this?

ghost commented 4 years ago

I have the same problem as you. Did you solve it? @JosephBak The site layouts in disorder when I use 'hugo -t ezhil' and 'hugo -D' to publish my site then push to Github pages. How to fix it? @vividvilla, please...

ghost commented 4 years ago

I have the same problem as you. Did you solve it? @JosephBak The site layouts in disorder when I use 'hugo -t ezhil' and 'hugo -D' to publish my site then push to Github pages. How to fix it? @vividvilla, please...

It's working now! I found the mistake in my config.toml: the correct conf is "customCSS = "/css/main.css"" and "customJS = ["/js/feather.min.js", "https://code.jquery.com/jquery-3.4.1.js"]",

it's solved.