Add company and school logos (#882)
* Add education logo * Fix width * Update css * Add logos to company * Add multiple positions * Update Styling * Strenghten poistion title * Improve timeline * Fix missing curly braces * Fix curly braces * Add space * Add space between position and date * Make single and multiple experiences more consistent * Remove single-position layout * Remove duplicated comment
This commit is contained in:
committed by
GitHub
parent
e8b0cfb32e
commit
11bddc36a2
@@ -31,6 +31,19 @@
|
||||
</td>
|
||||
<td class="details">
|
||||
<div class="degree-info card">
|
||||
|
||||
{{ $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>
|
||||
{{ end }}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-10 col-md-8">
|
||||
{{ if .institution.url }}
|
||||
|
||||
Reference in New Issue
Block a user