Reputation: 485
I've try to create a Jekyll blog using a template Jekyll ready but when I try to load to the branch gh-pages
it don't load any resource. I've already checked the base url but nothing, someone can help me?
Link:https://bestbug456.github.io/danilogiordani.info/
Upvotes: 1
Views: 1657
Reputation: 52829
In _config.yml, add :
baseurl: "/danilogiordani.info"
Call your ressources like this :
<link rel="stylesheet" href="{{ site.baseurl }}/style.css">
<script src="{{ site.baseurl }}/js/jquery-1.11.0.js"></script>
or
<img class="img-responsive" src="{{ site.baseurl }}/img/profile.png" alt="">
Upvotes: 2