diff --git a/wowchemy/layouts/partials/widgets/experience.html b/wowchemy/layouts/partials/widgets/experience.html index 1e3d3fd8..da288ed0 100644 --- a/wowchemy/layouts/partials/widgets/experience.html +++ b/wowchemy/layouts/partials/widgets/experience.html @@ -30,9 +30,10 @@
{{- if .company_logo}} + {{- $svg_icon := resources.Get (printf "media/icons/brands/%s.svg" .company_logo) -}} + {{ if not $svg_icon }}{{ errorf "Brand logo not found at `media/icons/brands/%s.svg`" .company_logo }}{{end}}
- {{- $svg_icon := resources.Get (printf "media/icons/brands/%s.svg" .company_logo) -}} {{- with .company_url}}{{end -}} {{.company | plainify}} {{- with .company_url}}{{end -}}