fix: article heading links (#1567)

This commit is contained in:
trean
2025-04-14 19:11:46 +02:00
committed by GitHub
parent 4154f007dd
commit 9c315d308b
@@ -8,7 +8,7 @@ anchors.options.class = 'text-decoration-none';
document.addEventListener('DOMContentLoaded', function (event) {
anchors.add('.qdrant-post__body :is(h1, h2, h3, h4, h5, h6)');
if (/documentation/.test(window.location?.pathname)) {
if (/documentation|articles/.test(window.location?.pathname)) {
anchors.add('.documentation-article > :is(h1, h2, h3, h4, h5, h6)');
}