This commit is contained in:
Alexander Candy-Levey 2022-04-29 20:06:15 +10:00 committed by GitHub
commit 62a6cb411a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,9 @@
{{ $strippedSlash := ($.Site.Params.logoimage | replaceRE "^(/)+(.*)" "$2") }} {{ $strippedSlash := ($.Site.Params.logoimage | replaceRE "^(/)+(.*)" "$2") }}
{{ $logoImage := (printf "%s%s" $.Site.BaseURL $strippedSlash) }} {{ $logoImage := (printf "%s%s" $.Site.BaseURL $strippedSlash) }}
<img src="{{$logoImage}}" alt="Logo Image" class="element--center"> <img src="{{$logoImage}}" alt="Logo Image" class="element--center">
{{with $.Site.Params.showTitleWithLogo}}
{{ $.Site.Title }}
{{end}}
{{ else }} {{ else }}
{{ .Site.Title }} {{ .Site.Title }}
{{ end }} {{ end }}