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