Hi folks,
How to parse a template variable with data.translations ?
I looked everywhere since 2hours but can’t find out.
example :
{{ $translate := ( index $.Site.Data.translations $.Site.Params.locale ) }}
{{ range $pricing := .Site.Data.pricing }}
<p>{{ ($translate).$pricing.free }}</p> // How to resolve $pricing.free to "pricing.free.title" ?
{{ end }}
Thank for your help !