@thulite/images 3.3.1 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @thulite/images
2
2
 
3
+ ## 3.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#35](https://github.com/thuliteio/images/pull/35) [`1bd95c8`](https://github.com/thuliteio/images/commit/1bd95c8873fc6ccad4899a0f9361dbbf11120ed9) Thanks [@h-enk](https://github.com/h-enk)! - Update for new template system in Hugo v0.146.0
8
+
9
+ - [#32](https://github.com/thuliteio/images/pull/32) [`c1a4f79`](https://github.com/thuliteio/images/commit/c1a4f79994237373ee91b0c109ed7ad7e6306908) Thanks [@danielfdickinson](https://github.com/danielfdickinson)! - Fix invalid HTML on img tag for render hook
10
+
3
11
  ## 3.3.1
4
12
 
5
13
  ### Patch Changes
@@ -165,8 +165,8 @@ partial template, after the render hook has captured the resource.
165
165
  fetchpriority="{{ site.Params.thulite_images.defaults.fetchpriority }}"
166
166
  loading="{{ site.Params.thulite_images.defaults.loading }}"
167
167
  alt="{{ .PlainText }}"
168
- {{- with .Title -}}title="{{ . }}"{{- end -}}
168
+ {{- with .Title -}}title="{{ . }}"{{- end }}
169
169
  id="{{ $id }}"
170
- />
170
+ >
171
171
 
172
172
  {{- /**/ -}}
@@ -59,7 +59,7 @@ Add this CSS to your site to remove small gaps between adjacent elements:
59
59
 
60
60
  @context {page} [page] The current page.
61
61
  @context {string} [src] The path to the base image: a page resource, a global resource, or a remote resource.
62
- @contect {int} [width] The display width of the image, in pixels, falling back to 100% of the viewport width.
62
+ @context {int} [width] The display width of the image, in pixels, falling back to 100% of the viewport width.
63
63
  @context {string} [sizes] = "" # "100vw", "75vw", or "auto" for example
64
64
  @context {string slice} [formats] A slice of image formats, ordered by precedence, to use when creating images for the srcset attribute of each source element.
65
65
  @context {string} [process] = "" # "fill 1600x900" for example
@@ -192,7 +192,7 @@ Add this CSS to your site to remove small gaps between adjacent elements:
192
192
  {{- end }}
193
193
  {{- end }}
194
194
  {{- else }}
195
- {{- /* The width was not speficied, will be using $stdWidths. */}}
195
+ {{- /* The width was not specified, will be using $stdWidths. */}}
196
196
  {{- $stdWidths = $stdWidths | append $r.Width | sort }}
197
197
  {{- range $stdWidths }}
198
198
  {{- /* Do not enlarge. */}}
@@ -59,7 +59,7 @@ Add this CSS to your site to remove small gaps between adjacent elements:
59
59
 
60
60
  @context {page} [page] The current page.
61
61
  @context {string} [src] The path to the base image: a page resource, a global resource, or a remote resource.
62
- @contect {int} [width] The display width of the image, in pixels, falling back to 100% of the viewport width.
62
+ @context {int} [width] The display width of the image, in pixels, falling back to 100% of the viewport width.
63
63
  @context {string} [sizes] = "" # "100vw", "75vw", or "auto" for example
64
64
  @context {string slice} [formats] A slice of image formats, ordered by precedence, to use when creating images for the srcset attribute of each source element.
65
65
  @context {string} [process] = "" # "fill 1600x900" for example
@@ -189,7 +189,7 @@ Add this CSS to your site to remove small gaps between adjacent elements:
189
189
  {{- end }}
190
190
  {{- end }}
191
191
  {{- else }}
192
- {{- /* The width was not speficied, will be using $stdWidths. */}}
192
+ {{- /* The width was not specified, will be using $stdWidths. */}}
193
193
  {{- $stdWidths = $stdWidths | append $r.Width | sort }}
194
194
  {{- range $stdWidths }}
195
195
  {{- /* Do not enlarge. */}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thulite/images",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "Thulite images",
5
5
  "author": "Thulite",
6
6
  "license": "MIT",
File without changes
File without changes
File without changes