tercept clicks on links to anchor tags and scroll to the target without setting the hash in the URL
        document.addEventListener('DOMContentLoaded', function() {
            document.querySelectorAll('a[href^="#"]').forEach(function(anchor) {
                anchor.addEventListener('click', function (e) {
                    // If not click on .heading-permalink
                    if (e.target.classList.contains('heading-permalink')) {
                        return;
                    }

           