Zenithar / hugo-theme-bleak

Bleak Ghost theme ported to Hugo
Other
151 stars 65 forks source link

Static files not loading when hugo hosted in a sub-directory #23

Closed curtiscde closed 7 years ago

curtiscde commented 7 years ago

Static files such as main.js & main.css aren't loading correctly when the hugo application is hosted in a sub-directory. This is also the same for local font files.

curtiscde commented 7 years ago

This is caused by the static files having a reference to the root directory such as:

/js/main.js

I'm currently working on a fix for this issue:

https://github.com/CurtTimson/hugo-theme-bleak