Use anchorjs for generating anchors
This commit is contained in:
parent
7c1d4d7903
commit
f4776a9df4
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
||||||
<!-- Import jQuery -->
|
<!-- Import jQuery -->
|
||||||
<script type="text/javascript" src="{{ "/assets/jquery.js" | prepend: site.baseurl }}"></script>
|
<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">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// Makes sandwhich menu works
|
// Makes sandwhich menu works
|
||||||
|
|
Loading…
Reference in a new issue