glados.no/_includes/utils/scripts.html

15 lines
483 B
HTML

<!--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>