Skip to content

Commit

Permalink
add anchor links
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthchirp committed Nov 17, 2020
1 parent d856db9 commit 80f5804
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,11 @@ <h2 id="project_tagline">{{ site.description | default: site.github.project_tagl
ga('send', 'pageview');
</script>
{% endif %}

<script src="https://cdn.jsdelivr.net/npm/anchor-js/anchor.min.js"></script>
<script>
anchors.options.placement = 'left';
anchors.add();
</script>
</body>
</html>

0 comments on commit 80f5804

Please sign in to comment.