Fix logos (#898)
This commit is contained in:
committed by
GitHub
parent
32e95a572f
commit
9f5a44e24e
@@ -34,10 +34,6 @@
|
||||
|
||||
{{ $logoImage:= resources.Get .institution.logo}}
|
||||
{{ if $logoImage }}
|
||||
{{/* svg don't support "Fit" operation */}}
|
||||
{{ if ne $logoImage.MediaType.SubType "svg" }}
|
||||
{{ $logoImage = $logoImage.Fit "300x300" }}
|
||||
{{ end }}
|
||||
<div class="logo-holder">
|
||||
<img class="company-logo" src="{{ $logoImage.RelPermalink }}" alt="{{ .name }}" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user