Skip to content

Commit

Permalink
only add anchors to h3s and below
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter authored and bkeepers committed Oct 3, 2016
1 parent 03b9c8d commit 4091f0d
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 @@ -36,6 +36,6 @@ <h1 class="m-0 my-md-3 pr-3 d-sm-inline-block text-gamma">
</div>

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

0 comments on commit 4091f0d

Please sign in to comment.