mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-31 18:56:15 +08:00
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:
@@ -347,7 +347,7 @@ tags.forEach(function (tag) {
|
|||||||
}
|
}
|
||||||
applyFilters();
|
applyFilters();
|
||||||
} else if (url) {
|
} else if (url) {
|
||||||
window.location.href = url;
|
window.location.href = url + "#library-index";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user