File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 154
154
{{- end -}}
155
155
{{- end -}}
156
156
157
- {{ if $logo }}{{ $logo = urls.JoinPath $baseURL $logo }}{{ end }}
157
+ {{ if $logo }}{{ $logo = urls.JoinPath "/" $logo }}{{ end }}
158
158
{{ if $logoLight }}{{ $logoLight = urls.JoinPath $baseURL $logoLight }}{{ end }}
159
159
{{ if $logoDark }}{{ $logoDark = urls.JoinPath $baseURL $logoDark }}{{ end }}
160
160
214
214
< img src ="{{if $absoluteURL }}{{ absURL $logoDark }}{{ else }}{{ $logoDark }}{{ end }} " class ="d-none-inline-light " alt ="{{ $title }} logo " height ="30 "{{ with $width }} width ="{{ . }} "{{ end }} >
215
215
{{- else if $logo -}}
216
216
{{ $width := partial "utilities/GetWidth.html" (dict "path" $logo "height" 30) }}
217
- < img src ="{{if $absoluteURL }}{{ absURL $logo }}{{ else }}{{ $logo }}{{ end }} " alt ="{{ $title }} logo " height ="30 "{{ with $width }} width ="{{ . }} "{{ end }} > < small class ="ps-4 d-none d-{{ $size }}-inline "> {{ $title }}</ small >
217
+ < img src ="{{if $absoluteURL }}{{ absURL $logo }}{{ else }}{{ $logo }}{{ end }} " alt ="" height ="30 "{{ with $width }} width ="{{ . }} "{{ end }} > < small class ="ps-4 d-none d-{{ $size }}-inline "> {{ $title }}</ small >
218
218
{{- else -}}
219
219
< div class ="navbar-title fw-bold h-100 "> {{ $title }}</ div >
220
220
{{- end -}}
You can’t perform that action at this time.
0 commit comments