mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
theme: capitalize theme name in option for FF #178
This commit is contained in:
parent
f5455500fa
commit
b1bb8e2290
2 changed files with 2 additions and 6 deletions
|
@ -101,9 +101,9 @@
|
||||||
{{- $themename := replaceRE "[-_]+" " " $themevariant }}
|
{{- $themename := replaceRE "[-_]+" " " $themevariant }}
|
||||||
{{- if $firsttheme }}
|
{{- if $firsttheme }}
|
||||||
{{- $firsttheme = false }}
|
{{- $firsttheme = false }}
|
||||||
<option id="{{ $themevariant }}" value="{{ $themevariant }}" selected>{{ $themename }}</option>
|
<option id="{{ $themevariant }}" value="{{ $themevariant }}" selected>{{ $themename | title }}</option>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<option id="{{ $themevariant }}" value="{{ $themevariant }}">{{ $themename }}</option>
|
<option id="{{ $themevariant }}" value="{{ $themevariant }}">{{ $themename | title }}</option>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -1414,10 +1414,6 @@ h6 a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-style #select-theme {
|
|
||||||
text-transform: capitalize;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only all and (max-width: 47.938em) {
|
@media only all and (max-width: 47.938em) {
|
||||||
#breadcrumbs .links, #top-github-link-text {
|
#breadcrumbs .links, #top-github-link-text {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in a new issue