{%- assign footer_data = include.data -%} {%- comment -%}todo: existence check{%- endcomment -%} {%- assign custom_footer_file = footer_data.custom_file | default: "custom/footer.liquid" -%} {%- capture custom_footer -%} {%- include {{custom_footer_file}} -%} {%- endcapture -%} {%- assign custom_size = custom_footer | strip | strip_newlines | size -%}