diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 41008ca..984a322 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,11 +1,3 @@ -{{ if .Title }} -
- {{ .Text }} -
{{ .Title }}
-
-{{ else }} -
- {{ .Text }} -
-{{ end }} +{{ $img := imageConfig (add "/static/" (.Destination | safeURL)) }} +{{ .Text }}