diff --git a/layouts/_default/person.html b/layouts/_default/person.html index ce8f56e..5eab101 100644 --- a/layouts/_default/person.html +++ b/layouts/_default/person.html @@ -173,6 +173,10 @@

{{ with .Param "images" }} {{ range . }} {{ $img := resources.GetMatch . }} + {{ if not $img }} + {{ warnf "missing image %q" . }} + {{ continue }} + {{ end }} {{ $imgSmall := $img.Resize "200x" }} {{ $imgMedium := $img.Resize "400x" }}