diff --git a/nf_core/pipeline-template/assets/multiqc_config.yml b/nf_core/pipeline-template/assets/multiqc_config.yml
index cd4e539b3..e6fd87898 100644
--- a/nf_core/pipeline-template/assets/multiqc_config.yml
+++ b/nf_core/pipeline-template/assets/multiqc_config.yml
@@ -3,11 +3,11 @@ report_comment: >
This report has been generated by the {{ name }}
analysis pipeline.{% if is_nfcore %} For information about how to interpret these results, please see the
documentation.{% endif %}
- {%- else %}
+ {%- else -%}
This report has been generated by the {{ name }}
analysis pipeline.{% if is_nfcore %} For information about how to interpret these results, please see the
documentation.{% endif %}
- {% endif %}
+ {%- endif %}
report_section_order:
"{{ name_noslash }}-methods-description":
order: -1000