From 196ef60fa17a7636f4944eb0028938be92d7f614 Mon Sep 17 00:00:00 2001 From: BernatBC Date: Sat, 3 Feb 2024 10:41:49 +0100 Subject: [PATCH] Add multiple positions --- .../sections/experiences/multiple-positions.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layouts/partials/sections/experiences/multiple-positions.html b/layouts/partials/sections/experiences/multiple-positions.html index 1c77f53..7c71b2b 100644 --- a/layouts/partials/sections/experiences/multiple-positions.html +++ b/layouts/partials/sections/experiences/multiple-positions.html @@ -1,5 +1,15 @@
+ { $logoImage:= resources.Get .company.logo}} + {{ if $logoImage }} + {{/* svg don't support "Fit" operation */}} + {{ if ne $logoImage.MediaType.SubType "svg" }} + {{ $logoImage = $logoImage.Fit "300x300" }} + {{ end }} +
+ +
+ {{ end }}
{{ if .company.url }}{{ .company.name }}{{ else }}{{ .company.name }}{{ end }}