diff --git a/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja b/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja
index a8f10c4a1ef5abe1f576c14151354f0f03705e93..6d0ae15e59f5985cb6c16c96abd1e98621bc7a5d 100644
--- a/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja
+++ b/aidge_export_arm_cortexm/_Aidge_Arm/templates/configuration/_meminfo.jinja
@@ -1,8 +1,7 @@
-// MEMINFO CONF
-
+// MEMINFO {{ name }}
 {# TODO : Suppose graph input is always connected to first input #}
 {# Graph input are stored in external memory so giving static values #}
-{%if is_input %}
+{%- if is_input -%}
 // GRAPH INPUT MEMINFO
 #define {{ in_name[0]|upper }}_SIZE {{ in_chan[0] }}
 #define {{ in_name[0]|upper }}_OFFSET  0
@@ -12,9 +11,7 @@
 #define {{ in_name[0]|upper }}_CONT_OFFSET 0
 #define {{ in_name[0]|upper }}_WRAP_OFFSET 0
 #define {{ in_name[0]|upper }}_WRAP_SIZE 0
-{% endif %}
-
-// MEMINFO {{ name }}
+{% endif -%}
 {% for outidx in range(nb_out) -%}
 // OUTPUT {{ outidx }}
 #define {{ out_name[outidx]|upper }}_SIZE {{ mem_info_size[outidx]}}
@@ -25,4 +22,4 @@
 #define {{ out_name[outidx]|upper }}_CONT_OFFSET {{ mem_info_cont_offset[outidx]}}
 #define {{ out_name[outidx]|upper }}_WRAP_OFFSET {{ mem_info_wrap_offset[outidx]}}
 #define {{ out_name[outidx]|upper }}_WRAP_SIZE {{ mem_info_wrap_size[outidx]}}
-{% endfor %}
+{% endfor -%}