Skip to content

Commit

Permalink
fix #530
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Feb 20, 2024
1 parent 5800d11 commit f9beea7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
- URL transformation direction is more visually distinct. [#563]
- colors replaced to `gray` to support terminals that does not support `dim` colors. [#566]
- `deno task lume upgrade` removes the `deno.lock` file [#527].
- `transform_images` plugin: don't enlarge images by default [#530].

### Fixed
- Pages filtered with `filter_pages` plugin are exported to the sitemap.
Expand Down Expand Up @@ -271,6 +272,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
[#527]: /~https://github.com/lumeland/lume/issues/527
[#528]: /~https://github.com/lumeland/lume/issues/528
[#529]: /~https://github.com/lumeland/lume/issues/529
[#530]: /~https://github.com/lumeland/lume/issues/530
[#532]: /~https://github.com/lumeland/lume/issues/532
[#534]: /~https://github.com/lumeland/lume/issues/534
[#535]: /~https://github.com/lumeland/lume/issues/535
Expand Down
2 changes: 1 addition & 1 deletion plugins/transform_images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const defaults: Options = {
image: sharp.Sharp,
width: number,
height?: number,
options?: sharp.ResizeOptions,
options: sharp.ResizeOptions = { withoutEnlargement: true },
): void {
image.resize(width, height, options);
},
Expand Down

0 comments on commit f9beea7

Please sign in to comment.