mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 02:42:28 +00:00
fix(docs): restructure content directory and fix TOC highlighting
Moves markdown files to `content/docs/` to match the TOC structure and ensures the correct `aria-current` attribute is used for the active TOC link. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
b50180221b
commit
a2efdc6d75
10 files changed
+29
-1
No files matched your search
+1
-1
@@ -206,7 +206,7 @@ function updateActiveToc(slug) {
|
||||
const links = tocState.linkLookup.get(slug);
|
||||
if (links) {
|
||||
links.forEach((link) => {
|
||||
link.setAttribute("aria-current", "true");
|
||||
link.setAttribute("aria-current", "page");
|
||||
link.classList.remove("text-muted");
|
||||
link.classList.add("text-text-strong", "font-semibold");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user