{% load i18n staticfiles coretags %} {% for menu in menu_list %} {% with pattern="/"|addstr:root|addstr:"/"|addstr:menu.link %}