diff --git a/appview/pages/templates/layouts/fragments/footerMinimal.html b/appview/pages/templates/layouts/fragments/footerMinimal.html
new file mode 100644
index 00000000..68cc56f3
--- /dev/null
+++ b/appview/pages/templates/layouts/fragments/footerMinimal.html
@@ -0,0 +1,19 @@
+{{ define "layouts/fragments/footer" }}
+
+{{ end }}
diff --git a/appview/pages/templates/repo/commit.html b/appview/pages/templates/repo/commit.html
index 964d4e93..998f3c29 100644
--- a/appview/pages/templates/repo/commit.html
+++ b/appview/pages/templates/repo/commit.html
@@ -127,11 +127,7 @@
-{{ end }}
+
{{ define "contentAfter" }}
{{ template "repo/fragments/diff" (list .Diff .DiffOpts) }}
diff --git a/appview/pages/templates/repo/compare/compare.html b/appview/pages/templates/repo/compare/compare.html
index 1ea5f927..cba51bb2 100644
--- a/appview/pages/templates/repo/compare/compare.html
+++ b/appview/pages/templates/repo/compare/compare.html
@@ -26,11 +26,7 @@