add subNav and edit Button

This commit is contained in:
2022-01-05 22:49:43 +00:00
parent 8a9d4ccdb1
commit 21efaa43f7

View File

@@ -55,19 +55,3 @@
{% endif %} {% endif %}
</div> </div>
</section> </section>
<script src="{% static 'gumshoe.js' %}"></script>
<script src="{% static 'smooth-scroll.js' %}"></script>
<script>
var spy = new Gumshoe('#scrollspy-subNav a', {
/***** Scrollspy *****/ // Active classes
navClass: 'font-semibold', // applied to the nav list item
});
/***** SmoothScroll *****/ // All animations will take exactly 500ms
var scroll = new SmoothScroll('a[href*="#"]', {
speed: 750,
speedAsDuration: true,
easing: 'easeInOutQuad'
});
</script>