feat(website): append #library-index to tag links on non-index pages

Tag clicks on category/other pages now land with the results section
scrolled into view.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-05-03 18:45:09 +08:00
parent fc8d1ba35e
commit 9de86ea785

View File

@@ -347,7 +347,7 @@ tags.forEach(function (tag) {
}
applyFilters();
} else if (url) {
window.location.href = url;
window.location.href = url + "#library-index";
}
});
});