I want to do the following:
{{ $link := "https://blablabla/(lower .someVar)" }}
The lower
function doesn’t do its job. What should I do to achieve my goal?
I want to do the following:
{{ $link := "https://blablabla/(lower .someVar)" }}
The lower
function doesn’t do its job. What should I do to achieve my goal?
What output are you currently getting?
It looks like you need printf
here…
{{ $link := printf "https://blablabla/%s" (lower .someVar) }}
The function call just used to get printed as plain test.
Thanks, I also reached to the same conclusion.