Commit 91de129
authored
removed slug from sheet title anchor
as sheet component is rendered for every cheatsheet page.. the page has already a path like `https://devsonket.com/bootstrap5` here `/bootstrap5` is the path which is the id of current viewing cheatsheet..
sheet component has a title with an anchor tag for every title,
in the anchor tag href `${slug}#{title}` is being used...
that's why after a refresh /slug#title is added to the URL like this `https://devsonket.com/bootstrap5/bootstrap5#title`1 parent 5540fb0 commit 91de129
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments