{% macro sub_list(nav_name, nav_items, nav_kwargs) %} {% if nav_items %} {% if nav_name %} {% endif %} {% endif %} {% endmacro %} {% macro nav_list_content(nav_name, nav_items, nav_kwargs, allow_pull=False, align_right=False) %} {% if allow_pull %} {% if align_right %} {% if nav_kwargs["align_right"] %} {{ sub_list(nav_name, nav_items, nav_kwargs) }} {% endif %} {% elif not nav_kwargs["align_right"] %} {{ sub_list(nav_name, nav_items, nav_kwargs) }} {% endif %} {% else %} {{ sub_list(nav_name, nav_items, nav_kwargs) }} {% endif %} {% endmacro %} {% macro nav_list(allow_pull=true, align_right=false, groups=None, exclude_groups=None) %} {% endmacro %} {# To a create navbar :brand: The brand of the site, can include anything :brand_url: The url when the brand is clicked on :fluid: If true it will expand menu all across :fixed: If true it will place the menu on top in a fixed position :fixed_padding_top: When fixed, specify the top padding in px :menu_id: if there are more that one menu, to make them unique :groups: (list) - list of menu groups to accept :exclude_groups: (list) - list of menu groups to exclude #} {% macro navbar(brand="", url="#", fluid=True, fixed=True, fixed_padding_top="70px", menu_id=1, groups=[], exclude_groups=[]) %} {% if fixed %} {% endif %} {% endmacro %}