Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


dynamic variable substitution #3

sendtopms opened this Issue · 2 comments

3 participants


I am planning to use erlydtl for one my application. Thanks for the great work. I like to see support for dynamic variable substitution -- thats L1 = [{a, one}, {b,two}]
L2 = [{one, "This is one"}, {two, "this is two"}]

I want to do {% for K, V in L1 %}

{{ L2.V}}
{% endfor %}

Please excuse for bad example but it explains what it should be there.

This is kind of done by zotonic team
Is it possible to support this use case? this is going to be very powerful.

@saleyn saleyn referenced this issue

locale #47


This is not present in Django and so will not be supported in ErlyDTL

@evanmiller evanmiller closed this

Hi Evan, this has caught me out too. Could you suggest a solution? Would this be possible with a custom tag?

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.