mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 09:05:47 +02:00
Documentation skip links (#30073)
* docs(skip-links): add a skip to main navigation skip link * docs(skip-links): revamp skip-links pattern * docs(navs): use aria-label on navs * docs(navs): use 'docs navigation' label in sidebar nav
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<nav class="collapse bd-links" id="bd-docs-nav" aria-label="Main navigation">
|
||||
<nav class="collapse bd-links" id="bd-docs-nav" aria-label="Docs navigation">
|
||||
{{- $url := split .Permalink "/" -}}
|
||||
{{- $page_slug := index $url (sub (len $url) 2) -}}
|
||||
|
||||
|
Reference in New Issue
Block a user