diff options
| author | XhmikosR <[email protected]> | 2022-05-13 19:28:18 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-13 19:28:18 +0300 |
| commit | 5f8383a136fcde6145144ac4bb56e93fc0011488 (patch) | |
| tree | 64f5d521faeac21bd1cf54ae035930a3926fdf7a | |
| parent | bd84449330aae3fea92f5895c6ee3499e2fd709b (diff) | |
| download | bootstrap-5f8383a136fcde6145144ac4bb56e93fc0011488.tar.xz bootstrap-5f8383a136fcde6145144ac4bb56e93fc0011488.zip | |
docs: link to the root page for the homepage (#36344)
| -rw-r--r-- | site/layouts/partials/docs-versions.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/partials/docs-versions.html b/site/layouts/partials/docs-versions.html index bef4f20ec..54cf3a2e2 100644 --- a/site/layouts/partials/docs-versions.html +++ b/site/layouts/partials/docs-versions.html @@ -17,7 +17,7 @@ <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="bd-versions"> <li><h6 class="dropdown-header">v5 releases</h6></li> <li> - <a class="dropdown-item current" aria-current="true" href="/docs/{{ .Site.Params.docs_version }}/{{ $versions_link }}"> + <a class="dropdown-item current" aria-current="true" href="{{ if .IsHome }}/{{ else }}/docs/{{ .Site.Params.docs_version }}/{{ $versions_link }}{{ end }}"> Latest ({{ .Site.Params.docs_version }}.x) </a> </li> |
