File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,6 @@ section {
101
101
left : 0 ;
102
102
background : #fff ;
103
103
}
104
-
105
- .dropdown-menu {
106
- left : -80px ;
107
- }
108
-
109
- & .dropdown :hover {
110
- color : $medium-grey ;
111
- }
112
104
}
113
105
}
114
106
@@ -390,4 +382,4 @@ main.content {
390
382
}
391
383
}
392
384
}
393
- }
385
+ }
Original file line number Diff line number Diff line change 9
9
{{ partialCached "footer.html" . }}
10
10
<!-- Disabling this as elements queries do not appear to exist on case studies -->
11
11
<!-- {{ partialCached "footer-scripts.html" . }} -->
12
+ {{ partialCached "scripts.html" . }}
13
+
12
14
</ body >
13
15
</ html >
Original file line number Diff line number Diff line change
1
+ {{/* Link directly to documentation etc., if possible. */}}
2
+ {{ $langPage := cond (gt (len .Translations) 0) . .Site.Home }}
3
+ < a class ="nav-link dropdown-toggle " href ="# " id ="navbarDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
4
+ {{ $langPage.Language.LanguageName }}
5
+ </ a >
6
+ < div class ="dropdown-menu dropdown-menu-right " aria-labelledby ="navbarDropdownMenuLink ">
7
+ {{ range $langPage.Translations }}
8
+ < a class ="dropdown-item " href ="{{ .RelPermalink }} "> {{ .Language.LanguageName }}</ a >
9
+ {{ end }}
10
+ </ div >
Original file line number Diff line number Diff line change 1
1
< a class ="nav-link dropdown-toggle " href ="# " id ="navbarDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
2
- {{ T "version_menu" }}
2
+ {{ T "version_menu" }}
3
3
</ a >
4
- < div class ="dropdown-menu " aria-labelledby ="navbarDropdownMenuLink ">
4
+ < div class ="dropdown-menu dropdown-menu-right " aria-labelledby ="navbarDropdownMenuLink ">
5
5
{{ range .Site.Params.versions }}
6
6
< a class ="dropdown-item " href ="{{ .url }} "> {{ .version }}</ a >
7
7
{{ end }}
8
- </ div >
8
+ </ div >
You can’t perform that action at this time.
0 commit comments