Put the lang in front of url (WIP)
This commit is contained in:
parent
418d31a127
commit
b39cb1c067
4 changed files with 8 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{% macro recipe_item(id, title, is_current) %}
|
||||
<li>
|
||||
<a href="/recipe/view/{{ id }}" class="recipe-item
|
||||
<a href="/{{ tr.current_lang_code() }}/recipe/view/{{ id }}" class="recipe-item
|
||||
{%~ if is_current %}
|
||||
current
|
||||
{% endif %}" id="recipe-{{ id }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue