Swap to use zachleat/heading-anchors for heading anchor links.

This commit is contained in:
Zach Leatherman
2024-08-29 15:28:33 -05:00
parent 2df6143099
commit d791163e12
5 changed files with 5 additions and 139 deletions

View File

@@ -33,7 +33,7 @@
{#- Renders the CSS bundle using a separate file, if you can't set CSP directive style-src: 'unsafe-inline' #}
{#- <link rel="stylesheet" href="{% getBundleFileUrl "css" %}"> #}
{%- js %}{% include "public/js/heading-anchors.js" %}{% endjs %}
{%- js %}{% include "node_modules/@zachleat/heading-anchors/heading-anchors.js" %}{% endjs %}
</head>
<body>
<a href="#skip" class="visually-hidden">Skip to main content</a>