{# Page footer block #} {% macro render_footer(footer=none, background="", global_footer=none) %} {% set f = footer if footer is mapping else {} %} {% set f_background = f.background | default(background) if f else background %} {% set f_text = f.text | default("") if f else footer if footer is string else "" %} {% if not f_text and global_footer %} {% set f_text = global_footer.text | default("") if global_footer is mapping else "" %} {% endif %} {% endmacro %}