From 6eb34e7124d6eea6262fffb1ba233d38b6a2647d Mon Sep 17 00:00:00 2001 From: stereobooster Date: Sun, 26 Nov 2023 14:23:42 +0100 Subject: [PATCH] use 2x instead of x2 in query params --- layouts/_default/_markup/render-image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 7a7e18a5..6c80f343 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -12,7 +12,7 @@ {{/* https://github.com/gohugoio/hugo/pull/10666/files */}} {{- $params := $url.Query -}} -{{- $x2Param := $params.Get "x2" -}} +{{- $x2Param := $params.Get "2x" -}} {{- $x2 := false -}} {{- if eq $x2Param "true" -}} {{- $x2 = true -}}