Closed confuzeus closed 2 years ago
With {% slugurl 'someslug' %} I can get the url to some page and use it in href for example.
If the user is French, I need to use {% slugurl 'someslug-in-french' %} instead for the href.
I can have if else statements to set the proper href but is there a cleaner way?
With {% slugurl 'someslug' %} I can get the url to some page and use it in href for example.
If the user is French, I need to use {% slugurl 'someslug-in-french' %} instead for the href.
I can have if else statements to set the proper href but is there a cleaner way?