|
|
@ -38,7 +38,7 @@
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $image := $imageresource.Fit "100x100" }}
|
|
|
|
{{ $image := $imageresource.Fit "100x100 webp" }}
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Title }}
|
|
|
|
{{ .Title }}
|
|
|
@ -90,7 +90,7 @@
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $image := $imageresource.Fit "100x100" }}
|
|
|
|
{{ $image := $imageresource.Fit "100x100 webp" }}
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Title }}
|
|
|
|
{{ .Title }}
|
|
|
@ -107,7 +107,7 @@
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $image := $imageresource.Fit "100x400" }}
|
|
|
|
{{ $image := $imageresource.Fit "100x400 webp" }}
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
|
|
|
|