Remove px from image size

This commit is contained in:
Joshua Goins 2022-08-30 12:20:22 -04:00
parent 4534e5384c
commit 8aa9c08ce2

View file

@ -21,7 +21,7 @@
{{ if $.Params.thumbnails }} {{ if $.Params.thumbnails }}
{{ $title := .title }} {{ $title := .title }}
{{ with resources.Get (printf "%s-thumbs/%s" ($.Param "json") .filename) }} {{ with resources.Get (printf "%s-thumbs/%s" ($.Param "json") .filename) }}
<img alt="{{ $title }}" width="128px" height="128px" src="{{ .Permalink }}"/> <img alt="{{ $title }}" width="128" height="128" src="{{ .Permalink }}"/>
{{ else }} {{ else }}
<p>Thumbnail not found!</p> <p>Thumbnail not found!</p>
{{ end }} {{ end }}