diff options
| author | Patrick H. Lauke <[email protected]> | 2021-05-04 12:46:06 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-04 12:46:06 +0100 |
| commit | 8865a8ab1c7157ab81bf49afa62b75f36daee46d (patch) | |
| tree | 97ef78f2ea8e07aab50014176d061fe3c1d49134 /site/layouts/partials | |
| parent | 018ee6a3b50b958ddb49657086cd9168abf5a485 (diff) | |
| parent | 7ea6578773cb1b7f5cfb8fb41321b3fa10349daf (diff) | |
| download | bootstrap-jo-docs-thanks-page.tar.xz bootstrap-jo-docs-thanks-page.zip | |
Merge branch 'main' into jo-docs-thanks-pagejo-docs-thanks-page
Diffstat (limited to 'site/layouts/partials')
| -rw-r--r-- | site/layouts/partials/callout-info-npm-starter.md | 1 | ||||
| -rw-r--r-- | site/layouts/partials/callout-info-sanitizer.md | 1 | ||||
| -rw-r--r-- | site/layouts/partials/docs-navbar.html | 4 | ||||
| -rw-r--r-- | site/layouts/partials/docs-sidebar.html | 50 | ||||
| -rw-r--r-- | site/layouts/partials/docs-versions.html | 2 | ||||
| -rw-r--r-- | site/layouts/partials/footer.html | 65 | ||||
| -rw-r--r-- | site/layouts/partials/home/masthead.html | 4 | ||||
| -rw-r--r-- | site/layouts/partials/icons/circle-square.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/icons/cloud-fill.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/icons/code.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/icons/collapse.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/icons/droplet-fill.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/icons/expand.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/icons/hamburger.svg | 3 | ||||
| -rw-r--r-- | site/layouts/partials/icons/list.svg | 2 | ||||
| -rw-r--r-- | site/layouts/partials/skippy.html | 6 |
16 files changed, 100 insertions, 50 deletions
diff --git a/site/layouts/partials/callout-info-npm-starter.md b/site/layouts/partials/callout-info-npm-starter.md new file mode 100644 index 000000000..bbd3897b5 --- /dev/null +++ b/site/layouts/partials/callout-info-npm-starter.md @@ -0,0 +1 @@ +**Get started with Bootstrap via npm with our starter project!** Head to the [twbs/bootstrap-npm-starter](https://github.com/twbs/bootstrap-npm-starter) template repository to see how to build and customize Bootstrap in your own npm project. Includes Sass compiler, Autoprefixer, Stylelint, PurgeCSS, and Bootstrap Icons. diff --git a/site/layouts/partials/callout-info-sanitizer.md b/site/layouts/partials/callout-info-sanitizer.md new file mode 100644 index 000000000..ee0eda48e --- /dev/null +++ b/site/layouts/partials/callout-info-sanitizer.md @@ -0,0 +1 @@ +By default, this component uses the built-in content sanitizer, which strips out any HTML elements that are not explicitly allowed. See the [sanitizer section in our JavaScript documentation](/docs/{{ .Site.Params.docs_version }}/getting-started/javascript/#sanitizer) for more details. diff --git a/site/layouts/partials/docs-navbar.html b/site/layouts/partials/docs-navbar.html index efa3c3232..e120c9c74 100644 --- a/site/layouts/partials/docs-navbar.html +++ b/site/layouts/partials/docs-navbar.html @@ -5,9 +5,7 @@ </a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#bdNavbar" aria-controls="bdNavbar" aria-expanded="false" aria-label="Toggle navigation"> - <svg class="bi" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> - <path fill-rule="evenodd" d="M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/> - </svg> + {{ partial "icons/hamburger.svg" (dict "class" "bi" "width" "32" "height" "32") }} </button> <div class="collapse navbar-collapse" id="bdNavbar"> diff --git a/site/layouts/partials/docs-sidebar.html b/site/layouts/partials/docs-sidebar.html index 94acb4786..eec268ceb 100644 --- a/site/layouts/partials/docs-sidebar.html +++ b/site/layouts/partials/docs-sidebar.html @@ -13,33 +13,33 @@ {{- end -}} {{- $group_slug := $group.title | urlize -}} - {{- $is_active_group := eq $.Page.Params.group $group_slug }} + {{- $is_active_group := eq $.Page.Params.group $group_slug -}} - <li class="mb-1{{ if $is_active_group }} active{{ end }}"> - <button class="btn d-inline-flex align-items-center rounded{{ if not $is_active_group }} collapsed{{ end }}" data-bs-toggle="collapse" data-bs-target="#{{ $group_slug }}-collapse" aria-expanded="{{ $is_active_group }}"{{ if $is_active_group }} aria-current="true"{{ end }}> - {{ $group.title }} - </button> + {{- if $group.pages }} + <li class="mb-1"> + <button class="btn d-inline-flex align-items-center rounded{{ if not $is_active_group }} collapsed{{ end }}" data-bs-toggle="collapse" data-bs-target="#{{ $group_slug }}-collapse" aria-expanded="{{ $is_active_group }}"{{ if $is_active_group }} aria-current="true"{{ end }}> + {{ $group.title }} + </button> - {{- if $group.pages }} - <div class="collapse{{ if $is_active_group }} show{{ end }}" id="{{ $group_slug }}-collapse"> - <ul class="list-unstyled fw-normal pb-1 small"> - {{- range $doc := $group.pages -}} - {{- $doc_slug := $doc.title | urlize -}} - {{- $is_active := and $is_active_group (eq $page_slug $doc_slug) -}} - {{- $href := printf "/docs/%s/%s/%s/" $.Site.Params.docs_version $group_slug $doc_slug }} - <li><a href="{{ $href }}" class="d-inline-flex align-items-center rounded{{ if $is_active }} active{{ end }}"{{ if $is_active }} aria-current="page"{{ end }}>{{ $doc.title }}</a></li> - {{- end }} - </ul> - </div> - {{- end }} - </li> + <div class="collapse{{ if $is_active_group }} show{{ end }}" id="{{ $group_slug }}-collapse"> + <ul class="list-unstyled fw-normal pb-1 small"> + {{- range $doc := $group.pages -}} + {{- $doc_slug := $doc.title | urlize -}} + {{- $is_active := and $is_active_group (eq $page_slug $doc_slug) -}} + {{- $href := printf "/docs/%s/%s/%s/" $.Site.Params.docs_version $group_slug $doc_slug }} + <li><a href="{{ $href }}" class="d-inline-flex align-items-center rounded{{ if $is_active }} active{{ end }}"{{ if $is_active }} aria-current="page"{{ end }}>{{ $doc.title }}</a></li> + {{- end }} + </ul> + </div> + </li> + {{- else }} + <li class="my-3 mx-4 border-top"></li> + <li> + <a href="/docs/{{ $.Site.Params.docs_version }}/{{ $group_slug }}/" class="d-inline-flex align-items-center rounded{{ if $is_active_group }} active{{ end }}"{{ if $is_active_group }} aria-current="page"{{ end }}> + {{ $group.title }} + </a> + </li> + {{- end }} {{- end }} - - <li class="my-3 mx-4 border-top"></li> - <li{{ if eq $page_slug "migration" }} class="active"{{ end }}> - <a href="/docs/{{ $.Site.Params.docs_version }}/migration/" class="d-inline-flex align-items-center rounded"> - Migration - </a> - </li> </ul> </nav> diff --git a/site/layouts/partials/docs-versions.html b/site/layouts/partials/docs-versions.html index 16df838b2..4415e550d 100644 --- a/site/layouts/partials/docs-versions.html +++ b/site/layouts/partials/docs-versions.html @@ -5,7 +5,7 @@ <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="bd-versions"> <li><a class="dropdown-item current" aria-current="true" href="/docs/{{ .Site.Params.docs_version }}/">Latest (5.0.x)</a></li> <li><hr class="dropdown-divider"></li> - <li><a class="dropdown-item" href="https://getbootstrap.com/docs/4.5/">v4.5.x</a></li> + <li><a class="dropdown-item" href="https://getbootstrap.com/docs/4.6/">v4.6.x</a></li> <li><a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.1</a></li> <li><a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a></li> <li><hr class="dropdown-divider"></li> diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index 45f801015..5e0f88229 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -1,12 +1,57 @@ -<footer class="bd-footer p-3 p-md-5 mt-5 bg-light text-center text-sm-start"> - <div class="container"> - <ul class="bd-footer-links ps-0 mb-3"> - <li class="d-inline-block"><a href="{{ .Site.Params.github_org }}">GitHub</a></li> - <li class="d-inline-block ms-3"><a href="https://twitter.com/{{ .Site.Params.twitter }}">Twitter</a></li> - <li class="d-inline-block ms-3"><a href="/docs/{{ .Site.Params.docs_version }}/examples/">Examples</a></li> - <li class="d-inline-block ms-3"><a href="/docs/{{ .Site.Params.docs_version }}/about/overview/">About</a></li> - </ul> - <p class="mb-0">Designed and built with all the love in the world by the <a href="/docs/{{ .Site.Params.docs_version }}/about/team/">Bootstrap team</a> with the help of <a href="{{ .Site.Params.repo }}/graphs/contributors">our contributors</a>.</p> - <p class="mb-0">Currently v{{ .Site.Params.current_version }}. Code licensed <a href="{{ .Site.Params.repo }}/blob/main/LICENSE" target="_blank" rel="license noopener">MIT</a>, docs <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="license noopener">CC BY 3.0</a>.</p> +<footer class="bd-footer py-5 mt-5 bg-light"> + <div class="container py-5"> + <div class="row"> + <div class="col-lg-3 mb-3"> + <a class="d-inline-flex align-items-center mb-2 link-dark text-decoration-none" href="/" aria-label="Bootstrap"> + {{ partial "icons/bootstrap-white-fill.svg" (dict "class" "d-block me-2" "width" "40" "height" "32") }} + <span class="fs-5">Bootstrap</span> + </a> + <ul class="list-unstyled small text-muted"> + <li class="mb-2">Designed and built with all the love in the world by the <a href="/docs/{{ .Site.Params.docs_version }}/about/team/">Bootstrap team</a> with the help of <a href="{{ .Site.Params.repo }}/graphs/contributors">our contributors</a>.</li> + <li class="mb-2">Code licensed <a href="{{ .Site.Params.repo }}/blob/main/LICENSE" target="_blank" rel="license noopener">MIT</a>, docs <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="license noopener">CC BY 3.0</a>.</li> + <li class="mb-2">Currently v{{ .Site.Params.current_version }}.</li> + </ul> + </div> + <div class="col-6 col-lg-2 offset-lg-1 mb-3"> + <h5>Links</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="/">Home</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/">Docs</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/examples/">Examples</a></li> + <li class="mb-2"><a href="{{ .Site.Params.opencollective }}">Themes</a></li> + <li class="mb-2"><a href="{{ .Site.Params.blog }}">Blog</a></li> + </ul> + </div> + <div class="col-6 col-lg-2 mb-3"> + <h5>Guides</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/getting-started/">Getting started</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/examples/starter-template/">Starter template</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/getting-started/webpack/">Webpack</a></li> + <li class="mb-2"><a href="/docs/{{ .Site.Params.docs_version }}/getting-started/parcel/">Parcel</a></li> + </ul> + </div> + <div class="col-6 col-lg-2 mb-3"> + <h5>Projects</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap">Bootstrap 5</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/tree/v4-dev">Bootstrap 4</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/icons">Icons</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/rfs">RFS</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap-npm-starter">npm starter</a></li> + </ul> + </div> + <div class="col-6 col-lg-2 mb-3"> + <h5>Community</h5> + <ul class="list-unstyled"> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/issues">Issues</a></li> + <li class="mb-2"><a href="{{ .Site.Params.github_org }}/bootstrap/discussions">Discussions</a></li> + <li class="mb-2"><a href="https://github.com/sponsors/twbs">Corporate sponsors</a></li> + <li class="mb-2"><a href="{{ .Site.Params.opencollective }}">Open Collective</a></li> + <li class="mb-2"><a href="{{ .Site.Params.slack }}">Slack</a></li> + <li class="mb-2"><a href="https://stackoverflow.com/questions/tagged/bootstrap-5">Stack Overflow</a></li> + </ul> + </div> + </div> </div> </footer> diff --git a/site/layouts/partials/home/masthead.html b/site/layouts/partials/home/masthead.html index 293819f53..a8a465fed 100644 --- a/site/layouts/partials/home/masthead.html +++ b/site/layouts/partials/home/masthead.html @@ -17,7 +17,9 @@ <p class="text-muted mb-0"> Currently <strong>v{{ .Site.Params.current_version }}</strong> <span class="px-1">·</span> - <a href="/docs/versions/" class="link-secondary">Previous releases</a> + <a href="https://getbootstrap.com/docs/4.6/getting-started/introduction/" class="link-secondary">v4.6.x docs</a> + <span class="px-1">·</span> + <a href="/docs/versions/" class="link-secondary">All releases</a> </p> </div> </div> diff --git a/site/layouts/partials/icons/circle-square.svg b/site/layouts/partials/icons/circle-square.svg index e62bfdb55..edd05754d 100644 --- a/site/layouts/partials/icons/circle-square.svg +++ b/site/layouts/partials/icons/circle-square.svg @@ -1,4 +1,4 @@ -<svg{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} focusable="false" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" focusable="false" viewBox="0 0 16 16"> <path d="M0 6a6 6 0 1112 0A6 6 0 010 6z"/> <path d="M12.93 5h1.57a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-1.57a6.953 6.953 0 01-1-.22v1.79A1.5 1.5 0 005.5 16h9a1.5 1.5 0 001.5-1.5v-9A1.5 1.5 0 0014.5 4h-1.79c.097.324.17.658.22 1z"/> </svg> diff --git a/site/layouts/partials/icons/cloud-fill.svg b/site/layouts/partials/icons/cloud-fill.svg index 4a6262d1e..4ca9276eb 100644 --- a/site/layouts/partials/icons/cloud-fill.svg +++ b/site/layouts/partials/icons/cloud-fill.svg @@ -1,3 +1,3 @@ -<svg{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} focusable="false" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" focusable="false" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M3.5 13a3.5 3.5 0 11.59-6.95 5.002 5.002 0 119.804 1.98A2.5 2.5 0 0113.5 13h-10z" clip-rule="evenodd"/> </svg> diff --git a/site/layouts/partials/icons/code.svg b/site/layouts/partials/icons/code.svg index 7d7210f2c..73156851a 100644 --- a/site/layouts/partials/icons/code.svg +++ b/site/layouts/partials/icons/code.svg @@ -1,3 +1,3 @@ -<svg{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} focusable="false" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" focusable="false" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M5.854 4.146a.5.5 0 010 .708L2.707 8l3.147 3.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0zm4.292 0a.5.5 0 000 .708L13.293 8l-3.147 3.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 00-.708 0z" clip-rule="evenodd"/> </svg> diff --git a/site/layouts/partials/icons/collapse.svg b/site/layouts/partials/icons/collapse.svg index 83e6cc688..ede702d68 100644 --- a/site/layouts/partials/icons/collapse.svg +++ b/site/layouts/partials/icons/collapse.svg @@ -1,4 +1,4 @@ -<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} viewBox="0 0 16 16"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" viewBox="0 0 16 16"> <title>{{ with .title }}{{ . }}{{ else }}Collapse{{ end }}</title> <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zm7-8a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 4.293V.5A.5.5 0 0 1 8 0zm-.5 11.707l-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 11.707V15.5a.5.5 0 0 1-1 0v-3.793z"/> </svg> diff --git a/site/layouts/partials/icons/droplet-fill.svg b/site/layouts/partials/icons/droplet-fill.svg index f63760587..228abfa8b 100644 --- a/site/layouts/partials/icons/droplet-fill.svg +++ b/site/layouts/partials/icons/droplet-fill.svg @@ -1,3 +1,3 @@ -<svg{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} focusable="false" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" focusable="false" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M8 16a6 6 0 006-6c0-1.655-1.122-2.904-2.432-4.362C10.254 4.176 8.75 2.503 8 0c0 0-6 5.686-6 10a6 6 0 006 6zM6.646 4.646c-.376.377-1.272 1.489-2.093 3.13l.894.448c.78-1.559 1.616-2.58 1.907-2.87l-.708-.708z" clip-rule="evenodd"/> </svg> diff --git a/site/layouts/partials/icons/expand.svg b/site/layouts/partials/icons/expand.svg index dfd83e961..d14315175 100644 --- a/site/layouts/partials/icons/expand.svg +++ b/site/layouts/partials/icons/expand.svg @@ -1,4 +1,4 @@ -<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} viewBox="0 0 16 16"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" viewBox="0 0 16 16"> <title>{{ with .title }}{{ . }}{{ else }}Expand{{ end }}</title> <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zM7.646.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 1.707V5.5a.5.5 0 0 1-1 0V1.707L6.354 2.854a.5.5 0 1 1-.708-.708l2-2zM8 10a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7.5 14.293V10.5A.5.5 0 0 1 8 10z"/> </svg> diff --git a/site/layouts/partials/icons/hamburger.svg b/site/layouts/partials/icons/hamburger.svg new file mode 100644 index 000000000..955d8a651 --- /dev/null +++ b/site/layouts/partials/icons/hamburger.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} fill="currentColor" viewBox="0 0 16 16"> + <path fill-rule="evenodd" d="M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/> +</svg> diff --git a/site/layouts/partials/icons/list.svg b/site/layouts/partials/icons/list.svg index 65efa431b..a801c2262 100644 --- a/site/layouts/partials/icons/list.svg +++ b/site/layouts/partials/icons/list.svg @@ -1,3 +1,3 @@ -<svg{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg"{{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/> </svg>
\ No newline at end of file diff --git a/site/layouts/partials/skippy.html b/site/layouts/partials/skippy.html index f95eece57..8da5c0a01 100644 --- a/site/layouts/partials/skippy.html +++ b/site/layouts/partials/skippy.html @@ -1,8 +1,8 @@ -<div class="skippy overflow-hidden"> +<div class="skippy visually-hidden-focusable overflow-hidden"> <div class="container-xl"> - <a class="visually-hidden-focusable d-inline-flex p-2 m-1" href="#content">Skip to main content</a> + <a class="d-inline-flex p-2 m-1" href="#content">Skip to main content</a> {{ if (eq .Page.Layout "docs") -}} - <a class="visually-hidden-focusable d-none d-md-inline-flex p-2 m-1" href="#bd-docs-nav">Skip to docs navigation</a> + <a class="d-none d-md-inline-flex p-2 m-1" href="#bd-docs-nav">Skip to docs navigation</a> {{- end }} </div> </div> |
