_includes/scripts.html in jekyll-theme-guides-mbland-1.0.2 vs _includes/scripts.html in jekyll-theme-guides-mbland-1.0.3
- old
+ new
@@ -1,4 +1,8 @@
+<script src="{{ site.baseurl }}/assets/js/vendor/anchor.min.js"></script>
+<script>
+document.addEventListener("DOMContentLoaded", function() { anchors.add('h3, h4, h5, h6') })
+</script>
<script src="{{ site.baseurl }}/assets/js/vendor/jquery-1.11.2.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/accordion.js"></script>
<script src="{{ site.baseurl }}/assets/js/guide.js"></script>{% for script in site.scripts %}
<script src="{{ site.baseurl }}/{{ script }}"></script>{% endfor %}{% for script in page.scripts %}
<script src="{{ site.baseurl }}/{{ script }}"></script>{% endfor %}{% unless site.jekyll_pages_api_search.skip_index %}