diff --git a/README.md b/README.md index 02c26644..b2a900dd 100644 --- a/README.md +++ b/README.md @@ -532,7 +532,7 @@ Parameters:
justify
Optional. String. Main axis space distribution. Must be around, between, center, end, evenly, or start.
linked
-
Optional. String. Hugo image processing methods and options, mixed together, for the linked image. If no method is specified, resize is used. If no image dimensions are specified, the originals are used. If it is unprocessed, it is unprocessed. If it is default, the default options are used. Must be unprocessed for raster images.
+
Optional. Boolean or string. If it is a string, it is Hugo image processing methods and options, mixed together, for the linked image. If no method is specified, resize is used. If no image dimensions are specified, the originals are used. If it is default, the default options are used. If it is a Boolean, it is unprocessed. Must be a Boolean for raster images.
loading
Optional. String. Must be eager (default) or lazy.
maxheight
@@ -590,7 +590,7 @@ Parameters:
link
Optional. String. URL. Image link. Must not use with linked.
linked
-
Optional. String. Hugo image processing methods and options, mixed together, for the linked image. If no method is specified, resize is used. If no image dimensions are specified, the originals are used. If it is unprocessed, it is unprocessed. If it is default, the default options are used. Must not use with link.
+
Optional. Boolean or string. Wraps the image in an anchor. If it is a string, it is Hugo image processing methods and options, mixed together, for the linked image. If no method is specified, resize is used. If no image dimensions are specified, the originals are used. If it is default, the default options are used. If it is a Boolean, it is unprocessed. Must be a Boolean for raster images. Must not use with link.
loading
Optional. String. Must be eager (default) or lazy.
maxheight
diff --git a/layouts/partials/paige/image.html b/layouts/partials/paige/image.html index 24740248..a77d7f3e 100644 --- a/layouts/partials/paige/image.html +++ b/layouts/partials/paige/image.html @@ -243,7 +243,7 @@ ) }} {{ if $linked }} - {{ if ne $linked "unprocessed" }} + {{ if ne $linked true }} {{ $method := "" }} {{ $options := slice }} {{ $size := "" }}