parent
611142d0e8
commit
89721a34ca
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
{{ range $param := .Params }}
|
{{ range $param := .Params }}
|
||||||
{{ $image := resources.GetMatch ($param) }}
|
{{ $image := resources.GetMatch ($param) }}
|
||||||
{{ $size := "x350" }}
|
{{ $size := "x350" }}
|
||||||
{{ $options := printf "%s %s %s" $size "jpg q90" "Box"}}
|
{{ $options := printf "%s %s %s" $size "png q90" "Box"}}
|
||||||
{{ $imagethumbnail := $image.Resize $options}}
|
{{ $imagethumbnail := $image.Resize $options}}
|
||||||
<a href="{{ $image.RelPermalink }}">
|
<a href="{{ $image.RelPermalink }}">
|
||||||
<img class="thumbnail w6 pa1 mr1" src="{{ $imagethumbnail.RelPermalink }}" style="width: 95% !important;" />
|
<img class="thumbnail w6 pa1 mr1" src="{{ $imagethumbnail.RelPermalink }}" style="width: 95% !important;" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue