diff options
Diffstat (limited to 'site/layouts/partials/docs-navbar.html')
-rw-r--r-- | site/layouts/partials/docs-navbar.html | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/site/layouts/partials/docs-navbar.html b/site/layouts/partials/docs-navbar.html index 19d58e2da9..58b4388339 100644 --- a/site/layouts/partials/docs-navbar.html +++ b/site/layouts/partials/docs-navbar.html @@ -1,6 +1,7 @@ <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> + <div class="container" style="padding: 0 15px;"> <a class="navbar-brand mr-0 mr-md-2" href="/" aria-label="Bootstrap"> - {{ partial "icons/bootstrap.svg" (dict "class" "d-block" "width" "36" "height" "36") }} + {{ partial "icons/bootstrap-logo-solid.svg" (dict "class" "d-block" "width" "32" "height" "32") }} </a> <div class="navbar-nav-scroll"> @@ -9,7 +10,7 @@ <a class="nav-link{{ if .IsHome }} active{{ end }}" href="/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Home</a> </li> <li class="nav-item"> - <a class="nav-link{{ if eq .Page.Layout "docs" }} active{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a> + <a class="nav-link{{ if eq .Page.Layout "docs" }} active{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Docs</a> </li> <li class="nav-item"> <a class="nav-link{{ if eq .Page.Title "Examples" }} active{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a> @@ -27,24 +28,6 @@ </div> <ul class="navbar-nav ml-md-auto"> - <li class="nav-item dropdown"> - <a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-expanded="false"> - v{{ .Site.Params.docs_version }} - </a> - <div class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions"> - <a class="dropdown-item active" href="/docs/{{ .Site.Params.docs_version }}/">Latest (4.3.x)</a> - <a class="dropdown-item" href="https://getbootstrap.com/docs/4.2/">v4.2.1</a> - <a class="dropdown-item" href="https://getbootstrap.com/docs/4.0/">v4.0.0</a> - <div class="dropdown-divider"></div> - <a class="dropdown-item" href="https://v4-alpha.getbootstrap.com/">v4 Alpha 6</a> - <a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.1</a> - <a class="dropdown-item" href="https://getbootstrap.com/docs/3.3/">v3.3.7</a> - <a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a> - <div class="dropdown-divider"></div> - <a class="dropdown-item" href="/docs/versions/">All versions</a> - </div> - </li> - <li class="nav-item"> <a class="nav-link p-2" href="{{ .Site.Params.repo }}" target="_blank" rel="noopener" aria-label="GitHub"> {{ partial "icons/github.svg" (dict "class" "navbar-nav-svg" "width" "36" "height" "36") }} @@ -68,4 +51,5 @@ </ul> <a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3" href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/">Download</a> +</div> </header> |