hello!
I’m trying to add a small country-selector to a small shortcode I’m working on.
{{< book country="US, UK, CA" >}}
is there any way of checking against that?
Kind of:
{{ if eq (.Get "country") "UK" }}
something
{{ end }}
I don’t want to do the usual {{< book us="yes" uk="no" ca="no" >}}
because I’m using like 10 countries, not just these three.