Skip to content

Commit

Permalink
use site.baseurl because subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter authored and bkeepers committed Oct 3, 2016
1 parent 4091f0d commit b83ff83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1 class="m-0 my-md-3 pr-3 d-sm-inline-block text-gamma">
</div>
</div>

<script src="{{ site.github.url }}/js/vendor/anchor-js/anchor.min.js"></script>
<script src="{{ site.baseurl }}/js/vendor/anchor-js/anchor.min.js"></script>
<script>anchors.add('#content h3, #content h4, #content h5');</script>
</body>
</html>

0 comments on commit b83ff83

Please sign in to comment.