glados.no/_includes/utils/scripts.html

13 lines
481 B
HTML
Raw Normal View History

2020-11-29 19:42:04 +01:00
<!--Bootstrap-->
<script src="{{ "/assets/js/jquery-3.5.1.min.js" | relative_url }}"></script>
<script src="{{ "/assets/js/bootstrap.bundle.min.js" | relative_url }}"></script>
<script src="{{ "/assets/js/bootstrap-toc.min.js" | relative_url }}"></script>
<!--Anchors-->
<script src="{{ "/assets/js/anchor.min.js" | relative_url }}"></script>
<script>
anchors.options = {
placement: 'right',
icon: '#',
};
anchors.add('h1, h2, h3, h4, h5').remove('.no-anchor');
</script>