Merge pull request #462 from fangyi-zhou/anchors
Use anchorjs for generating anchors
This commit is contained in:
commit
aaaabb1a20
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
<!-- Import jQuery -->
|
||||
<script type="text/javascript" src="{{ "/assets/jquery.js" | prepend: site.baseurl }}"></script>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.2/anchor.min.js" integrity="sha256-E4RlfxwyJVmkkk0szw7LYJxuPlp6evtPSBDlWHsYYL8=" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript">
|
||||
anchors.add();
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// Makes sandwhich menu works
|
||||
|
|
Loading…
Reference in a new issue