mirror of https://github.com/jpanther/congo.git
use 2x instead of x2 in query params
parent
11fd48f5d0
commit
6eb34e7124
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
{{/* https://github.com/gohugoio/hugo/pull/10666/files */}}
|
{{/* https://github.com/gohugoio/hugo/pull/10666/files */}}
|
||||||
{{- $params := $url.Query -}}
|
{{- $params := $url.Query -}}
|
||||||
{{- $x2Param := $params.Get "x2" -}}
|
{{- $x2Param := $params.Get "2x" -}}
|
||||||
{{- $x2 := false -}}
|
{{- $x2 := false -}}
|
||||||
{{- if eq $x2Param "true" -}}
|
{{- if eq $x2Param "true" -}}
|
||||||
{{- $x2 = true -}}
|
{{- $x2 = true -}}
|
||||||
|
|
Loading…
Reference in New Issue