Reputation: 424
{% set url = '/f/' . topic.name . '/' %}
I have some problems getting this to work. Anyone knows how to do this correctly?
Upvotes: 16
Views: 16820
Reputation: 6196
Concatenation is done with a ~
:
{% set url = '/f/' ~ topic.name ~ '/' %}
Upvotes: 31