{%- import 'macros/link.html' as link with context -%} {%- macro render_menu(items, lang) -%} {%- endmacro -%} {%- macro render_menu_item(item, lang) -%} {%- if item is string -%} {%- set url = item -%} {%- call(parsedurl, anchor, reflang, is_external, reftype, refid, refpage, tagcattitle, tagcatcolor) link.parse_url(url, lang) -%}