diff --git a/templates/default_dark/commit.html b/templates/default_dark/commit.html
index 44eb4d3..a6498d9 100644
--- a/templates/default_dark/commit.html
+++ b/templates/default_dark/commit.html
@@ -31,9 +31,9 @@ index {{file.oldid | truncate(length=7,end="")}}..{{file.newid | truncate(length
{%- endfor -%}
{% endfor -%}
+
{% endfor -%}
{% endif -%}
-
{% endblock content %}
diff --git a/templates/default_light/commit.html b/templates/default_light/commit.html
index 44eb4d3..a6498d9 100644
--- a/templates/default_light/commit.html
+++ b/templates/default_light/commit.html
@@ -31,9 +31,9 @@ index {{file.oldid | truncate(length=7,end="")}}..{{file.newid | truncate(length
{%- endfor -%}
{% endfor -%}
+
{% endfor -%}
{% endif -%}
-
{% endblock content %}