Commit b896d53f6a
Unsigned
Layout: unified · split
docs/.vitepress/theme/Layout.vue +1 −1
| @@ -864,7 +864,7 @@ function applyFavicons(root: ParentNode) { | |||
| 864 | .forEach((link) => { | 864 | .forEach((link) => { |
| 865 | const href = link.getAttribute('href') ?? '' | 865 | const href = link.getAttribute('href') ?? '' |
| 866 | if (!/^https?:\/\//i.test(href) || href.startsWith(origin)) return | 866 | if (!/^https?:\/\//i.test(href) || href.startsWith(origin)) return |
| 867 | if (link.querySelector('hl, .icon-tip, img, svg')) return | 867 | if (link.querySelector('.highlight-pill, .icon-tip, img, svg')) return |
| 868 | if (!link.textContent?.trim()) return | 868 | if (!link.textContent?.trim()) return |
| 869 | 869 | ||
| 870 | let hostname: string | 870 | let hostname: string |