+
{{ block "contentLayout" . }}
{{ block "content" . }}{{ end }}
{{ end }}
@@ -53,13 +47,6 @@
{{ end }}
-{{ define "footerLayout" }}
-
-{{ end }}
-
-
{{ define "contentAfter" }}
{{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff .DiffOpts) }}
{{end}}
diff --git a/appview/pages/templates/repo/pulls/patch.html b/appview/pages/templates/repo/pulls/patch.html
index 219fb02e..3bb580f2 100644
--- a/appview/pages/templates/repo/pulls/patch.html
+++ b/appview/pages/templates/repo/pulls/patch.html
@@ -34,14 +34,8 @@
{{ end }}
-{{ define "topbarLayout" }}
-
- {{ template "layouts/fragments/topbar" . }}
-
-{{ end }}
-
{{ define "mainLayout" }}
-
+
{{ block "contentLayout" . }}
{{ block "content" . }}{{ end }}
{{ end }}
@@ -59,12 +53,6 @@
{{ end }}
-{{ define "footerLayout" }}
-
-{{ end }}
-
{{ define "contentAfter" }}
{{ template "repo/fragments/diff" (list .RepoInfo.FullName .Diff .DiffOpts) }}
{{end}}