diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..1ee9df7 --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,14 @@ +{{ $destination := .Destination }} + +{{ $resource := .Page.Resources.GetMatch $destination }} + +{{ if $resource }} + {{ $destination = ($resource.Resize "1500x webp").RelPermalink }} +{{ end }} + +
+ {{ .Text | plainify }} +
+ {{ .Text }} +
+