{# ================================================================================ Navigation Menu Macros - REFERENCE ONLY ================================================================================ NOTE: These macros are now defined INLINE in base.html because Jinja2's {% from ... import %} doesn't work with template inheritance - child templates that extend base.html don't inherit the imported macros. This file is kept as documentation/reference for the macro signatures. The actual macros are defined at the top of base.html. See: plan/active/rfc-template-performance-optimization.md ================================================================================ #} {# Render manual menu items from config. Args: menu: List of menu item dicts from get_menu_lang() is_mobile: If true, adds 'has-submenu' class for mobile styling #} {% def render_menu_items(menu, is_mobile=false) %} {% if menu %} {% spaceless %} {% for item in menu %}