How to solve the problem with GitHub Pages?

Post your build with gulp using the plugin gulp-gh-pages. The question is this: since GH Pages the way to the site looks like a username.github.io/repository-name/, all my ways type/img/cat.jpg break. What is the solution?
March 19th 20 at 08:45
1 answer
March 19th 20 at 08:47
Use relative paths. img/cat.jpg it can work.

Find more questions by tags LayoutGitHub